feat: units hold formation while patrolling

This commit is contained in:
Sara 2025-07-21 16:50:58 +02:00
parent c05d3aa28f
commit ec6fc76335
7 changed files with 31 additions and 11 deletions

View file

@ -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));
}
}