diff options
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index 40818ee..cd92ef9 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -11,30 +11,30 @@ #include "window.hpp" -#include "weapon.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; + 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(); + Entity(); + Entity(int const& h); + ~Entity(); }; -#endif // ENEMY_H_ +#endif // ENEMY_H_ |