20 lines
574 B
C++
20 lines
574 B
C++
|
#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 override { return TurnChoiceKind ::Flee; }
|
||
|
|
||
|
protected:
|
||
|
void GetActiveScripts(std::vector<ScriptWrapper>& scripts) override { GetUser()->GetActiveScripts(scripts); }
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // CREATURELIB_FLEETURNCHOICE_HPP
|