示例#1
0
        private void createAsteroids()
        {
            var tempAsteroid = new Asteroids(this, spriteBatch, graphics.GraphicsDevice.Viewport.TitleSafeArea);

            _asteroids.Add(tempAsteroid);
            Components.Add(tempAsteroid);
        }
示例#2
0
 private void createAsteroids()
 {
     var tempAsteroid = new Asteroids(this, spriteBatch, graphics.GraphicsDevice.Viewport.TitleSafeArea);
     _asteroids.Add(tempAsteroid);
     Components.Add(tempAsteroid);
 }