예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (GameManager game = new GameManager())
     {
         game.Run();
     }
 }
예제 #2
0
 public MenuScreen(Microsoft.Xna.Framework.Game game)
     : base()
 {
     _game = (GameManager)game;
     _contentService = (ContentManager)game.Services.GetService(typeof(ContentManager));
     _inputService = (IInputService)game.Services.GetService(typeof(IInputService));
     _uiService = (IUIService)game.Services.GetService(typeof(IUIService));
 }