1 #ifndef TOWER_DEFENCE_2_ENEMY_H 2 #define TOWER_DEFENCE_2_ENEMY_H 14 Enemy(
double x,
double y,
double radius,
double speed,
int health,
18 std::string name()
const;
29 EnemyType(
const std::string &name,
int score,
int money,
double speed,
36 std::string name()
const;
39 Enemy * create_enemy(
double x,
double y);
43 const std::string m_name;
57 #endif //TOWER_DEFENCE_2_ENEMY_H
int m_health
Current health of the object.
Definition: object.h:83
Enemy class.
Definition: enemy.h:12
double m_speed
Current speed of the object.
Definition: object.h:77
Description for creating new enemies.
Definition: enemy.h:27