public void SpawnEnemy() { if (timer.ElapsedTime > deltaTime) { c.AddShip(ShipFactory.CreateRandomShip(world)); time = new Time(); timer.Restart(); } }