/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (GameManager game = new GameManager()) { game.Run(); } }
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)); }