Not using Weapon anymore.

This commit is contained in:
Zed A. Shaw 2025-06-28 11:53:48 -04:00
parent 57d69015c2
commit 7602fb0b31
5 changed files with 9 additions and 55 deletions

View file

@ -63,10 +63,6 @@ namespace components {
std::string ai_goal_name;
};
struct Weapon {
int damage = 0;
};
struct Curative {
int hp = 10;
};
@ -145,7 +141,6 @@ namespace components {
ENROLL_COMPONENT(Sprite, name, width, height, scale);
ENROLL_COMPONENT(Curative, hp);
ENROLL_COMPONENT(LightSource, strength, radius);
ENROLL_COMPONENT(Weapon, damage);
ENROLL_COMPONENT(Position, location.x, location.y);
ENROLL_COMPONENT(EnemyConfig, ai_script, ai_start_name, ai_goal_name);
ENROLL_COMPONENT(Personality, hearing_distance, tough);