aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.hpp
blob: cd92ef954f4e91f78db61afd0ec51118442785a4 (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
39
40
/*********************************/
/*   THRESHOLD        (  //      */
/*   entityh           ( )/      */
/*   by salade         )(/       */
/*  ________________  ( /)       */
/* ()__)____________)))))   :^}  */
/*********************************/

#ifndef ENEMY_H_
#define ENEMY_H_

#include "window.hpp"

#include <map>
#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;
    std::map<int, AWeapon*> wp;
    AWeapon* currentWeapon;
    Image img;
    Texture2D idleTex;
    Texture2D hurtTex;

    Entity();
    Entity(int const& h);
    ~Entity();
};

#endif  // ENEMY_H_