GEJM  1.0.0.0
a 2D platformer made by students
MonsterCreature.h
1 #ifndef MONSTERCREATURE_H
2 #define MONSTERCREATURE_H
3 
4 #include "Creature.h"
5 
12  public Creature
13 {
14 public:
24  MonsterCreature(double x = 0.0, double y = 0.0, double width = 1.0, double height = 1.0, Uint8 health = 1);
25 
30 
37  void onCollision(SolidObject* collider) override;
38 
42  MonsterCreature& operator=(MonsterCreature const&) = delete;
43 };
44 
45 #endif // MONSTER_H
Definition: Creature.h:74
void onCollision(SolidObject *collider) override
Definition: MonsterCreature.cpp:37
double x
Definition: Object.h:83
double width
Definition: Object.h:93
double height
Definition: Object.h:98
double y
Definition: Object.h:88
Definition: MonsterCreature.h:11
MonsterCreature & operator=(MonsterCreature const &)=delete
Definition: SolidObject.h:9
~MonsterCreature()
Definition: MonsterCreature.cpp:26
MonsterCreature(double x=0.0, double y=0.0, double width=1.0, double height=1.0, Uint8 health=1)
Definition: MonsterCreature.cpp:17
Uint8 health
Definition: Creature.h:194