CreatureLib/src/Battling/TurnChoices/FleeTurnChoice.hpp

22 lines
619 B
C++
Raw Normal View History

2019-12-15 10:52:10 +00:00
#ifndef CREATURELIB_FLEETURNCHOICE_HPP
#define CREATURELIB_FLEETURNCHOICE_HPP
#include "../Models/Creature.hpp"
#include "BaseTurnChoice.hpp"
namespace CreatureLib::Battling {
class FleeTurnChoice : public BaseTurnChoice {
public:
FleeTurnChoice(Creature* user) : BaseTurnChoice(user) {}
TurnChoiceKind GetKind() const noexcept override { return TurnChoiceKind ::Flee; }
2019-12-15 10:52:10 +00:00
protected:
void GetActiveScripts(Arbutils::Collections::List<ScriptWrapper>& scripts) override {
GetUser()->GetActiveScripts(scripts);
}
2019-12-15 10:52:10 +00:00
};
}
#endif // CREATURELIB_FLEETURNCHOICE_HPP