blob: a38edcf6122846af185cc050866af8c76dc05ecb (
plain)
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
|
/*********************************/
/* THRESHOLD ( // */
/* entityh ( )/ */
/* by salade )(/ */
/* ________________ ( /) */
/* ()__)____________))))) :^} */
/*********************************/
#ifndef ENEMY_H_
#define ENEMY_H_
#include "window.hpp"
#include "weapon.hpp"
class Entity {
public:
int hp;
int radius;
int victims;
int fury;
bool threshold;
float posX;
float posY;
double furyTime;
double reloadTime;
Vector2 direction;
Weapon * wp;
Image img;
Texture2D idleTex;
Texture2D hurtTex;
Entity();
Entity(int const & h);
~Entity();
};
#endif // ENEMY_H_
|