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:
Zed A. Shaw 2025-03-15 11:43:46 -04:00
parent c4e01775bc
commit 75db188dc6
6 changed files with 56 additions and 27 deletions

View file

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