A little bit of layout up and displaying to get started.
This commit is contained in:
parent
07e281d987
commit
7cdd96ef73
3 changed files with 20 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue