#include <Component.hpp>
Inheritance diagram for ecs::Enemy:
Collaboration diagram for ecs::Enemy:Public Attributes | |
| float | health |
| float | max_health |
| float | damage |
| float | speed |
| float | last_shot_time |
| float | shoot_cooldown |
Public Attributes inherited from ecs::IComponent | |
| std::string | id |
Definition at line 118 of file Component.hpp.
| float ecs::Enemy::damage |
Definition at line 122 of file Component.hpp.
Referenced by gme::CollisionSystem::handlePlayerEnemyCollision().
| float ecs::Enemy::health |
Definition at line 120 of file Component.hpp.
Referenced by gme::CollisionSystem::applyDamageToEnemy().
| float ecs::Enemy::last_shot_time |
Definition at line 124 of file Component.hpp.
Referenced by gme::EnemyAISystem::canShoot().
| float ecs::Enemy::max_health |
Definition at line 121 of file Component.hpp.
| float ecs::Enemy::shoot_cooldown |
Definition at line 125 of file Component.hpp.
| float ecs::Enemy::speed |
Definition at line 123 of file Component.hpp.