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:
20
src/Battling/TurnChoices/AttackTurnChoice.hpp
Normal file
20
src/Battling/TurnChoices/AttackTurnChoice.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef CREATURELIB_ATTACKTURNCHOICE_HPP
|
||||
#define CREATURELIB_ATTACKTURNCHOICE_HPP
|
||||
|
||||
#include "BaseTurnChoice.hpp"
|
||||
#include "../Models/LearnedAttack.hpp"
|
||||
|
||||
namespace CreatureLib::Battling{
|
||||
class AttackTurnChoice : public BaseTurnChoice {
|
||||
LearnedAttack* _attack;
|
||||
public:
|
||||
AttackTurnChoice(Creature* c) : BaseTurnChoice(c){}
|
||||
|
||||
inline LearnedAttack* GetAttack() const{
|
||||
return _attack;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //CREATURELIB_ATTACKTURNCHOICE_HPP
|
||||
Reference in New Issue
Block a user