aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.hpp
blob: c114ca710b66a52f958d3657916c59f7cc61e28c (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
/*********************************/
/*   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 tex;

        Entity();
        ~Entity();
};

#endif // ENEMY_H_