fix: state machines now handle being disabled
This commit is contained in:
parent
707c38894a
commit
5d0ae90fbc
3 changed files with 19 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ public:
|
|||
|
||||
private:
|
||||
State *current_state{ nullptr };
|
||||
bool current_state_is_active{ false };
|
||||
HashMap<StringName, State *> states{};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue