Beispiel #1
0
        private Vector2 RandomPostion(SpaceForceGame game)
        {
            int w = game.graphics.GraphicsDevice.DisplayMode.Width;
            int x = rand.Next(w);

            return(new Vector2(x, 0));
        }
Beispiel #2
0
 public AsteroidPool(SpaceForceGame game) : base(game)
 {
     NumberOnScreen = 50;
 }
Beispiel #3
0
 static void Main()
 {
     using (var game = new SpaceForceGame())
         game.Run();
 }