Beispiel #1
0
 /// <summary>
 /// This method "kills" a ship and adds it to a list to respawn.
 /// </summary>
 /// <param name="ship"></param>
 public void KillShip(Ship ship)
 {
     lock (shipDictionary)
     {
         this.RemoveShip(ship.GetID());
         ship.Died();
         deadShipDictionary.Add(ship.GetID(), ship);
     }
 }