AI is now mostly working. Enemies will attack the player, and some of them are marked as not tough so they'll run away when they get low health.
This commit is contained in:
parent
c4e01775bc
commit
75db188dc6
6 changed files with 56 additions and 27 deletions
|
@ -18,7 +18,8 @@ namespace components {
|
|||
components::enroll<Position>(component_map);
|
||||
components::enroll<Weapon>(component_map);
|
||||
components::enroll<Curative>(component_map);
|
||||
components::enroll<EnemyConfig>(component_map);
|
||||
components::enroll<EnemyAI>(component_map);
|
||||
components::enroll<Personality>(component_map);
|
||||
components::enroll<Tile>(component_map);
|
||||
components::enroll<Motion>(component_map);
|
||||
components::enroll<LightSource>(component_map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue