2019-10-29 10:19:25 +00:00
|
|
|
#ifndef CREATURELIB_ATTACKTURNCHOICE_HPP
|
|
|
|
#define CREATURELIB_ATTACKTURNCHOICE_HPP
|
|
|
|
|
|
|
|
#include "BaseTurnChoice.hpp"
|
|
|
|
#include "../Models/LearnedAttack.hpp"
|
|
|
|
|
|
|
|
namespace CreatureLib::Battling{
|
|
|
|
class AttackTurnChoice : public BaseTurnChoice {
|
|
|
|
LearnedAttack* _attack;
|
|
|
|
public:
|
2019-10-31 11:02:23 +00:00
|
|
|
AttackTurnChoice(Creature* c, LearnedAttack* attack)
|
|
|
|
: BaseTurnChoice(c), _attack(attack){}
|
2019-10-29 10:19:25 +00:00
|
|
|
|
|
|
|
inline LearnedAttack* GetAttack() const{
|
|
|
|
return _attack;
|
|
|
|
}
|
2019-10-31 11:02:23 +00:00
|
|
|
|
|
|
|
TurnChoiceKind GetKind() const override {
|
|
|
|
return TurnChoiceKind ::Attack;
|
|
|
|
}
|
2019-10-29 10:19:25 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //CREATURELIB_ATTACKTURNCHOICE_HPP
|