aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-06 21:11:01 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-06 21:11:01 +0100
commita3e3264a73cd82de83799b77bfd64c60d6debbd0 (patch)
tree71131aadf38e1a0486576fa800056355001b0c04 /src/entity.hpp
parentmore dynamic and faster enemy movement (diff)
downloadthreshold-a3e3264a73cd82de83799b77bfd64c60d6debbd0.tar.gz
threshold-a3e3264a73cd82de83799b77bfd64c60d6debbd0.tar.bz2
threshold-a3e3264a73cd82de83799b77bfd64c60d6debbd0.tar.xz
threshold-a3e3264a73cd82de83799b77bfd64c60d6debbd0.tar.zst
threshold-a3e3264a73cd82de83799b77bfd64c60d6debbd0.zip
amazing textures. v0.0.4
Diffstat (limited to '')
-rw-r--r--src/entity.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index c114ca7..a38edcf 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -27,9 +27,11 @@ class Entity {
Vector2 direction;
Weapon * wp;
Image img;
- Texture2D tex;
+ Texture2D idleTex;
+ Texture2D hurtTex;
Entity();
+ Entity(int const & h);
~Entity();
};