Component identifying an entity as an enemy with AI behavior.
int _scoreValue
Score points awarded on destruction.
void setScoreValue(int scoreValue)
Set score value.
int getScoreValue() const
Get score value.
void setEnemyType(int enemyType)
Set enemy type.
int _enemyType
Enemy type/classification.
int getEnemyType() const
Get enemy type.
ComponentType getType() const override
Get the component type ID.
Enemy(int enemyType, int scoreValue)
Constructor with enemy parameters.
~Enemy() override=default
Base interface for all ECS components.
Maximum number of distinct component types supported by the Registry.
std::size_t ComponentType
Type alias for component identification.