This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Starfighter game = new Starfighter())
     {
         game.Run();
     }
 }
Exemplo n.º 2
0
 public void StarfighterConstructorTest()
 {
     Starfighter target = new Starfighter();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Exemplo n.º 3
0
        public void Initialize()
        {
            Game game = MockRepository.GenerateStub<Game>();
            testGame = MockRepository.GenerateStub<Starfighter>(game);

            action = new ActionScreen(game,testGame.spriteBatch);
        }
Exemplo n.º 4
0
 public void Initialize()
 {
     Game game = MockRepository.GenerateStub<Game>();
     testGame = new Starfighter(game);
 }