aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-11 17:06:20 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-11 17:06:20 +0100
commit59d902df725c2d6a1b7cad016326ca51316b937f (patch)
treeeae43bbc5d3faf3799fe242f1648115e17a9df67 /src/entity.hpp
parentclang-format chromium test (diff)
downloadthreshold-59d902df725c2d6a1b7cad016326ca51316b937f.tar.gz
threshold-59d902df725c2d6a1b7cad016326ca51316b937f.tar.bz2
threshold-59d902df725c2d6a1b7cad016326ca51316b937f.tar.xz
threshold-59d902df725c2d6a1b7cad016326ca51316b937f.tar.zst
threshold-59d902df725c2d6a1b7cad016326ca51316b937f.zip
clang format blind letsgo !
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp42
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_