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

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