AI engine is working and I have a little BattleEngine going but the AI is working better than it should in systems.cpp. Need to find out why then make the BattleEngine avoid running entities that have END in action lists.
This commit is contained in:
parent
da273cbee6
commit
47c6bfd531
13 changed files with 131 additions and 27 deletions
3
ai.hpp
3
ai.hpp
|
@ -24,7 +24,10 @@ namespace ai {
|
|||
|
||||
bool wants_to(std::string name);
|
||||
|
||||
bool active();
|
||||
|
||||
void set_state(std::string name, bool setting);
|
||||
bool get_state(std::string name);
|
||||
|
||||
void update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue