aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-06 23:44:19 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-06 23:44:19 +0100
commita67d57e85601c6ebf69c1c6828125470035af393 (patch)
tree0d7b5d60b339e516d11fad7c38f98680724b8fc3 /src/entity.hpp
parentamazing textures. v0.0.4 (diff)
downloadthreshold-a67d57e85601c6ebf69c1c6828125470035af393.tar.gz
threshold-a67d57e85601c6ebf69c1c6828125470035af393.tar.bz2
threshold-a67d57e85601c6ebf69c1c6828125470035af393.tar.xz
threshold-a67d57e85601c6ebf69c1c6828125470035af393.tar.zst
threshold-a67d57e85601c6ebf69c1c6828125470035af393.zip
weapon as an abstract class. now make more weapons
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index a38edcf..6c803df 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -25,7 +25,7 @@ class Entity {
double furyTime;
double reloadTime;
Vector2 direction;
- Weapon * wp;
+ AWeapon * wp;
Image img;
Texture2D idleTex;
Texture2D hurtTex;