X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackChoice.h;h=d332b267f70a6facf473ad1d47bbc516e8071d7b;hb=f552d26f537af9fa48255bd71cdc1a0a1b860bac;hp=42eb0d3c51c2b40bde00a98e788f34bfa7891169;hpb=b7a90738b9ae701cfc86bf74a11ba59d7fcb17ba;p=l2e.git diff --git a/src/battle/AttackChoice.h b/src/battle/AttackChoice.h index 42eb0d3..d332b26 100644 --- a/src/battle/AttackChoice.h +++ b/src/battle/AttackChoice.h @@ -9,8 +9,7 @@ #define BATTLE_ATTACKCHOICE_H_ #include "TargetSelection.h" - -namespace common { class Item; } +#include "../common/fwd.h" namespace battle { @@ -35,6 +34,8 @@ public: void SetType(Type t) { type = t; } const common::Item *GetItem() const { return (const common::Item *)thing; } void SetItem(const common::Item *i) { thing = i; } + const common::Spell *GetSpell() const { return (const common::Spell *)thing; } + void SetSpell(const common::Spell *s) { thing = s; } TargetSelection &Selection() { return selection; } const TargetSelection &Selection() const { return selection; }