2019-10-29 10:19:25 +00:00
|
|
|
#ifndef CREATURELIB_BASETURNCHOICE_HPP
|
|
|
|
#define CREATURELIB_BASETURNCHOICE_HPP
|
|
|
|
|
|
|
|
#include "TurnChoiceKind.hpp"
|
|
|
|
|
|
|
|
namespace CreatureLib::Battling{
|
2019-10-31 11:02:23 +00:00
|
|
|
class Creature;
|
|
|
|
|
2019-10-29 10:19:25 +00:00
|
|
|
class BaseTurnChoice {
|
|
|
|
Creature* _user;
|
|
|
|
protected:
|
|
|
|
BaseTurnChoice(Creature* user) : _user(user){};
|
|
|
|
public:
|
|
|
|
virtual ~BaseTurnChoice() = default;
|
|
|
|
[[nodiscard]] virtual TurnChoiceKind GetKind() const = 0;
|
|
|
|
[[nodiscard]] inline Creature* GetUser() const{
|
|
|
|
return _user;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //CREATURELIB_BASETURNCHOICE_HPP
|