2019-10-31 11:02:23 +00:00
|
|
|
#ifndef CREATURELIB_TURNHANDLER_HPP
|
|
|
|
#define CREATURELIB_TURNHANDLER_HPP
|
|
|
|
|
|
|
|
#include "ChoiceQueue.hpp"
|
2019-10-31 12:13:36 +00:00
|
|
|
#include "../TurnChoices/AttackTurnChoice.hpp"
|
2019-10-31 11:02:23 +00:00
|
|
|
|
|
|
|
namespace CreatureLib::Battling {
|
|
|
|
class Battle;
|
|
|
|
|
|
|
|
class TurnHandler {
|
2019-10-31 12:13:36 +00:00
|
|
|
static void ExecuteChoice(const BaseTurnChoice* choice);
|
|
|
|
|
|
|
|
static void ExecuteAttackChoice(const AttackTurnChoice* choice);
|
2019-10-31 11:02:23 +00:00
|
|
|
public:
|
|
|
|
static void RunTurn(ChoiceQueue& queue);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //CREATURELIB_TURNHANDLER_HPP
|