#ifndef BATTLE_ATTACKCHOICE_H_
#define BATTLE_ATTACKCHOICE_H_
+#include "TargetSelection.h"
+
namespace battle {
class AttackChoice {
};
public:
- AttackChoice() : type(UNDECIDED) { }
+ explicit AttackChoice(BattleState *b = 0) : type(UNDECIDED), selection(b) { }
~AttackChoice() { }
public:
Type GetType() const { return type; }
void SetType(Type t) { type = t; }
+ TargetSelection &Selection() { return selection; }
+ const TargetSelection &Selection() const { return selection; }
private:
Type type;
+ TargetSelection selection;
};