Added more script hooks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-11-23 11:53:00 +01:00
parent 49bd4813f6
commit f6415fba27
4 changed files with 22 additions and 10 deletions

View File

@@ -9,9 +9,9 @@ namespace CreatureLib::Battling {
class Battle;
class TurnHandler {
static void ExecuteChoice(const BaseTurnChoice* choice);
static void ExecuteChoice(BaseTurnChoice* choice);
static void ExecuteAttackChoice(const AttackTurnChoice* choice);
static void ExecuteAttackChoice(AttackTurnChoice* choice);
static void HandleAttackForTarget(ExecutingAttack* attack, Creature* target, const ExecutingAttack::TargetData& targetData);
public:
static void RunTurn(Battle* battle, ChoiceQueue* queue);