CreatureLib/src/Battling/TurnChoices/PassTurnChoice.hpp

23 lines
571 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;
}
protected:
void GetActiveScripts(std::vector<ScriptWrapper> &scripts) override {
GetUser()->GetActiveScripts(scripts);
}
};
}
#endif //CREATURELIB_PASSTURNCHOICE_HPP