CreatureLib/src/Battling/TurnChoices/AttackTurnChoice.hpp

26 lines
641 B
C++
Raw Normal View History

#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:
AttackTurnChoice(Creature* c, LearnedAttack* attack)
: BaseTurnChoice(c), _attack(attack){}
inline LearnedAttack* GetAttack() const{
return _attack;
}
TurnChoiceKind GetKind() const override {
return TurnChoiceKind ::Attack;
}
};
}
#endif //CREATURELIB_ATTACKTURNCHOICE_HPP