A little bit of layout up and displaying to get started.

This commit is contained in:
Zed A. Shaw 2025-09-22 14:35:10 -04:00
parent 07e281d987
commit 7cdd96ef73
3 changed files with 20 additions and 11 deletions

View file

@ -15,10 +15,8 @@ namespace combat {
if(enemy.ai.active()) {
if(enemy.ai.wants_to("kill_enemy")) {
fmt::println(">> enemy {} wants to KILL", entity);
pending_actions.emplace_back(enemy, BattleAction::ATTACK);
} else if(enemy.ai.wants_to("run_away")) {
fmt::println(">> enemy {} wants to RUN", entity);
pending_actions.emplace_back(enemy, BattleAction::ESCAPE);
}
}