diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 20:59:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 20:59:14 +0300 |
commit | 390e5da0f9ecc4407aa7d4bcba1af5730db56271 (patch) | |
tree | ee0879cba3fec38740f1e51f2d1d35719ec3d8ae /src/being/being.h | |
parent | 9f1994182d4225f630a93ae06b01927c4f7a9a37 (diff) | |
download | manaverse-390e5da0f9ecc4407aa7d4bcba1af5730db56271.tar.gz manaverse-390e5da0f9ecc4407aa7d4bcba1af5730db56271.tar.bz2 manaverse-390e5da0f9ecc4407aa7d4bcba1af5730db56271.tar.xz manaverse-390e5da0f9ecc4407aa7d4bcba1af5730db56271.zip |
Convert AttackType enum into strong typed enum.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h index b1639f250..83ca7785a 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -189,7 +189,7 @@ class Being notfinal : public ActorSprite, */ void takeDamage(Being *const attacker, const int damage, - const AttackType::Type type, + const AttackTypeT type, const int attackId = 1, const int level = 1); @@ -793,7 +793,7 @@ class Being notfinal : public ActorSprite, void recalcSpritesOrder(); int getHitEffect(const Being *const attacker, - const AttackType::Type type, + const AttackTypeT type, const int attackId, const int level) const A_WARN_UNUSED; @@ -938,7 +938,7 @@ class Being notfinal : public ActorSprite, void createSpeechBubble(); - static int getDefaultEffectId(const AttackType::Type &type); + static int getDefaultEffectId(const AttackTypeT &type); BeingInfo *mInfo; AnimatedSprite *mEmotionSprite; |