diff options
Diffstat (limited to 'include/attack.hpp')
-rw-r--r-- | include/attack.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/attack.hpp b/include/attack.hpp index 027b93f..0ab5138 100644 --- a/include/attack.hpp +++ b/include/attack.hpp @@ -10,15 +10,15 @@ enum class AttackType : char { ShortSlash, LongSlash, - SmallBoom }; struct AttackEvent { - AttackEvent(vec2 p, AttackType at, int pow = 10) - : pos(p), type(at), power(pow) {} + AttackEvent(vec2 p, AttackType at, bool fp, int pow = 10) + : pos(p), type(at), fromplayer(fp), power(pow) {} vec2 pos; AttackType type; + bool fromplayer; int power; }; |