public void AddToBottom(AbstractGameAction _action) { if (AbstractDungeon.GetCurrRoom().Phase == RoomPhase.Combat) { Actions.Add(_action); } }
public void AddToTop(AbstractGameAction _action) { if (AbstractDungeon.GetCurrRoom().Phase == RoomPhase.Combat) { Actions.Insert(0, _action); } }
public void Clear() { Actions.Clear(); PreTurnActions.Clear(); CurrentAction = null; PreviousAction = null; TurnStartCurrentAction = null; CardsPlayedThisCombat.Clear(); CardsPlayedThisTurn.Clear(); OrbsChanneledThisCombat.Clear(); OrbsChanneledThisTurn.Clear(); CardQueue.Clear(); EnergyGainedThisCombat = 0; DamageReceivedThisCombat = 0; HpLossThisCombat = 0; IsTurnHasEnded = false; Turn = 1; ManagerPhase = Phase.WaitingOnUser; TotalDiscardedThisTurn = 0; }
public void AddToNextCombat(AbstractGameAction _action) { nextCombatActions.Add(_action); }