diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-06 23:44:19 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-06 23:44:19 +0100 |
commit | a67d57e85601c6ebf69c1c6828125470035af393 (patch) | |
tree | 0d7b5d60b339e516d11fad7c38f98680724b8fc3 /src/entity.hpp | |
parent | amazing textures. v0.0.4 (diff) | |
download | threshold-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.hpp | 2 |
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; |