public override void ActionIsFailed(GenericShip ship, Type actionType) { ship.RemoveAlreadyExecutedAction(actionType); SubPhases.DecisionSubPhase decisionSubphase = Phases.CurrentSubPhase.PreviousSubPhase as SubPhases.DecisionSubPhase; if (decisionSubphase != null) { decisionSubphase.DecisionWasPreparedAndShown = false; } Phases.CurrentSubPhase.PreviousSubPhase.Resume(); }
public override void TakeDecision() { SubPhases.DecisionSubPhase subphase = (Phases.CurrentSubPhase as SubPhases.DecisionSubPhase); subphase.ShowDecisionWindowUI(); if (subphase.IsForced) { GameMode.CurrentGameMode.TakeDecision(subphase.GetDecisions().First(), null); } }