Implements creature switching as turn choice.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "../Models/ExecutingAttack.hpp"
|
||||
#include "../TurnChoices/AttackTurnChoice.hpp"
|
||||
#include "../TurnChoices/SwitchTurnChoice.hpp"
|
||||
#include "ChoiceQueue.hpp"
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
@@ -15,6 +16,8 @@ namespace CreatureLib::Battling {
|
||||
static void HandleAttackForTarget(ExecutingAttack* attack, Creature* target,
|
||||
ExecutingAttack::TargetData* targetData);
|
||||
|
||||
static void ExecuteSwitchChoice(SwitchTurnChoice* choice);
|
||||
|
||||
public:
|
||||
static void RunTurn(Battle* battle, ChoiceQueue* queue);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user