/
Ennemy.h
47 lines (36 loc) · 952 Bytes
/
Ennemy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef Polukili_Ennemies_Ennemy_h
#define Polukili_Ennemies_Ennemy_h
#include <Actor.h>
namespace Polukili
{
namespace Ennemies
{
/**
* Represents an ennemy
*/
class Ennemy : public Polukili::Actor
{
public:
/**
* Constructor
**/
Ennemy(Level* level);
/**
* Destructor
*/
virtual ~Ennemy();
/**
* Sets wether the ennemy must be destroyed to complete the level. It should always be true for boss.
*/
void setTarget(bool isTarget);
/**
* Returns wether the ennemy must be destroyed to complete the level. It should always be true for boss.
*/
virtual bool isTarget() const;
private:
bool target;
//end of class Ennemy
};
} /* End of namespace Polukili::Ennemies */
}
#endif