コード例 #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 bool CanPerformCAction(Player performingPlayer)
 {
     return(RocketFiredThisTurn == null && Rockets.Any());
 }