CreatureLib/src/Battling/TurnChoices/PassTurnChoice.hpp

22 lines
546 B
C++
Raw Normal View History

#ifndef CREATURELIB_PASSTURNCHOICE_HPP
#define CREATURELIB_PASSTURNCHOICE_HPP
#include "BaseTurnChoice.hpp"
namespace CreatureLib::Battling {
class PassTurnChoice : public BaseTurnChoice{
public:
PassTurnChoice(Creature* c) : BaseTurnChoice(c){}
TurnChoiceKind GetKind() const override {
return TurnChoiceKind ::Pass;
}
void GetActiveScripts(ScriptAggregator &aggr) const override {
GetUser()->GetActiveScripts(aggr);
}
};
}
#endif //CREATURELIB_PASSTURNCHOICE_HPP