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:
|
2020-06-02 16:30:37 +00:00
|
|
|
PassTurnChoice(ArbUt::BorrowedPtr<Creature> c) : BaseTurnChoice(c) {}
|
2019-10-29 10:19:25 +00:00
|
|
|
|
2020-03-25 18:07:36 +00:00
|
|
|
TurnChoiceKind GetKind() const noexcept override { return TurnChoiceKind ::Pass; }
|
2020-04-25 09:33:25 +00:00
|
|
|
size_t ScriptCount() const override { return GetUser()->ScriptCount(); }
|
2019-11-10 13:32:05 +00:00
|
|
|
|
2019-11-10 16:08:42 +00:00
|
|
|
protected:
|
2020-05-26 16:31:06 +00:00
|
|
|
void GetActiveScripts(ArbUt::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
|