public CombatPhase(PhaseManager phaseManager, PlayerUI playerUI, bool skipCombat, float countdownTime, FinishCountdownEvent finishCountdownEvent) : base(phaseManager) { _playerUI = playerUI; _defeatScreen = phaseManager.EndGameScreen; _skipCombat = skipCombat; _countdownTime = countdownTime; _finishCountdownEvent = finishCountdownEvent; }
public byte[] Call(byte[] memento) { try { _action.Value(); } finally { FinishCountdownEvent.Signal(); } return(null); }