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

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