Пример #1
0
 public void SpawnEnemy()
 {
     if (timer.ElapsedTime > deltaTime)
     {
         c.AddShip(ShipFactory.CreateRandomShip(world));
         time = new Time();
         timer.Restart();
     }
 }