Initial support for setting battle choices.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
17
src/Battling/TurnChoices/PassTurnChoice.hpp
Normal file
17
src/Battling/TurnChoices/PassTurnChoice.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif //CREATURELIB_PASSTURNCHOICE_HPP
|
||||
Reference in New Issue
Block a user