2019-10-29 10:19:25 +00:00
|
|
|
#ifndef CREATURELIB_PASSTURNCHOICE_HPP
|
|
|
|
#define CREATURELIB_PASSTURNCHOICE_HPP
|
|
|
|
|
|
|
|
#include "BaseTurnChoice.hpp"
|
|
|
|
|
|
|
|
namespace CreatureLib::Battling {
|
2019-11-28 11:55:22 +00:00
|
|
|
class PassTurnChoice : public BaseTurnChoice {
|
2019-10-29 10:19:25 +00:00
|
|
|
public:
|
2019-11-28 11:55:22 +00:00
|
|
|
PassTurnChoice(Creature* c) : BaseTurnChoice(c) {}
|
2019-10-29 10:19:25 +00:00
|
|
|
|
2019-11-28 11:55:22 +00:00
|
|
|
TurnChoiceKind GetKind() const override { return TurnChoiceKind ::Pass; }
|
2019-11-10 13:32:05 +00:00
|
|
|
|
2019-11-10 16:08:42 +00:00
|
|
|
protected:
|
2020-03-22 18:21:40 +00:00
|
|
|
void GetActiveScripts(Arbutils::Collections::List<ScriptWrapper>& scripts) override {
|
|
|
|
GetUser()->GetActiveScripts(scripts);
|
|
|
|
}
|
2019-10-29 10:19:25 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-11-28 11:55:22 +00:00
|
|
|
#endif // CREATURELIB_PASSTURNCHOICE_HPP
|