X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FAttackChoice.h;h=0049f1e2be198bd068713be96d26be3ddf124646;hb=42fea5412a4423e827aac36465b2d9a38968390e;hp=f36520351b173b97cc1421bab2c7693bd6b0070e;hpb=b6469d8a22e60335fd8d9304569e648310ddc399;p=l2e.git diff --git a/src/battle/AttackChoice.h b/src/battle/AttackChoice.h index f365203..0049f1e 100644 --- a/src/battle/AttackChoice.h +++ b/src/battle/AttackChoice.h @@ -1,20 +1,16 @@ -/* - * AttackChoice.h - * - * Created on: Aug 7, 2012 - * Author: holy - */ - #ifndef BATTLE_ATTACKCHOICE_H_ #define BATTLE_ATTACKCHOICE_H_ -#include "TargetSelection.h" - +namespace battle { + class Battle; +} namespace common { class Item; class Spell; } +#include "TargetSelection.h" + namespace battle { class AttackChoice { @@ -30,7 +26,10 @@ public: }; public: - explicit AttackChoice(BattleState *b = 0) : thing(0), selection(b), type(UNDECIDED) { } + AttackChoice() + : thing(0), selection(), type(UNDECIDED) { } + explicit AttackChoice(Battle *b) + : thing(0), selection(b), type(UNDECIDED) { } ~AttackChoice() { } public: @@ -54,4 +53,4 @@ private: } -#endif /* BATTLE_ATTACKCHOICE_H_ */ +#endif