コード例 #1
0
 public override void PerformCAction(Player performingPlayer)
 {
     if (Rockets.Any() && RocketFiredThisTurn == null)
     {
         var firedRocket = Rockets.First();
         Rockets.Remove(firedRocket);
         RocketFiredThisTurn = firedRocket;
     }
 }
コード例 #2
0
 public void PerformEndOfTurn()
 {
     RocketFiredLastTurn = RocketFiredThisTurn;
     RocketFiredThisTurn = null;
 }
コード例 #3
0
 public void PerformEndOfTurn()
 {
     RocketFiredLastTurn = RocketFiredThisTurn;
     RocketFiredThisTurn = null;
 }