Right before coverage destroys everything.
This commit is contained in:
parent
1d2968f826
commit
c4611c0138
9 changed files with 54 additions and 46 deletions
|
@ -49,7 +49,7 @@ namespace components {
|
|||
bool tough = true;
|
||||
};
|
||||
|
||||
struct EnemyAI {
|
||||
struct EnemyConfig {
|
||||
std::string ai_script;
|
||||
std::string ai_start_name;
|
||||
std::string ai_goal_name;
|
||||
|
@ -146,7 +146,7 @@ namespace components {
|
|||
ENROLL_COMPONENT(Weapon, damage);
|
||||
ENROLL_COMPONENT(Loot, amount);
|
||||
ENROLL_COMPONENT(Position, location.x, location.y);
|
||||
ENROLL_COMPONENT(EnemyAI, ai_script, ai_start_name, ai_goal_name);
|
||||
ENROLL_COMPONENT(EnemyConfig, ai_script, ai_start_name, ai_goal_name);
|
||||
ENROLL_COMPONENT(Personality, hearing_distance, tough);
|
||||
ENROLL_COMPONENT(Motion, dx, dy, random);
|
||||
ENROLL_COMPONENT(Combat, hp, max_hp, damage, dead);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue