Handle executing moves.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-11-03 13:47:50 +01:00
parent fc675efdf5
commit b4e08049ce
7 changed files with 183 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
#include "ChoiceQueue.hpp"
#include "../TurnChoices/AttackTurnChoice.hpp"
#include "../Models/ExecutingAttack.hpp"
namespace CreatureLib::Battling {
class Battle;
@@ -11,6 +12,7 @@ namespace CreatureLib::Battling {
static void ExecuteChoice(const BaseTurnChoice* choice);
static void ExecuteAttackChoice(const AttackTurnChoice* choice);
static void HandleAttackForTarget(ExecutingAttack& attack, Creature* target, ExecutingAttack::TargetData& targetData);
public:
static void RunTurn(ChoiceQueue& queue);
};