You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
I have this case where I'd like to have two state machines (which interact with each other) and to have the state transitions happen external to the module where they are defined. Any tips?
I'm having a bit of trouble wrapping my head around exporting the Variants of the state machine. It's not clear to me how to re-export the objects of the sm! macro.
sm::sm! {
GameState {
InitialStates { Start }
}
}
When I try to use elsewhere it I get:
`GameState` is private, and cannot be re-exported
consider declaring type or module `NodeState` with `pub`
Not clear how to declare as pub. Tips?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have this case where I'd like to have two state machines (which interact with each other) and to have the state transitions happen external to the module where they are defined. Any tips?
I'm having a bit of trouble wrapping my head around exporting the Variants of the state machine. It's not clear to me how to re-export the objects of the sm! macro.
When I try to use elsewhere it I get:
Not clear how to declare as
pub
. Tips?The text was updated successfully, but these errors were encountered: