feat: units hold formation while patrolling
This commit is contained in:
parent
c05d3aa28f
commit
ec6fc76335
7 changed files with 31 additions and 11 deletions
|
|
@ -56,8 +56,4 @@ void StateMachine::add_state(State *state) {
|
|||
if (this->current_state == nullptr) {
|
||||
this->switch_to_state(state);
|
||||
}
|
||||
print_line("states:");
|
||||
for (KeyValue<StringName, State *> kv : this->states) {
|
||||
print_line(vformat("\t\t| %s %s", kv.key, kv.value));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue