예제 #1
0
 public void AddToBottom(AbstractGameAction _action)
 {
     if (AbstractDungeon.GetCurrRoom().Phase == RoomPhase.Combat)
     {
         Actions.Add(_action);
     }
 }
예제 #2
0
 public void AddToTop(AbstractGameAction _action)
 {
     if (AbstractDungeon.GetCurrRoom().Phase == RoomPhase.Combat)
     {
         Actions.Insert(0, _action);
     }
 }
예제 #3
0
 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;
 }
예제 #4
0
 public void AddToNextCombat(AbstractGameAction _action)
 {
     nextCombatActions.Add(_action);
 }