/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public MenuScene(Game1 game , SpriteFont font , SoundEffect uiSound ) : base(game) { this.menus = new Dictionary<string, TextMenu>(); this.menus["main"] = this.MakeStandardMenu(font, uiSound); this.menus["settings"] = this.MakeStandardMenu(font, uiSound); this.menus["settings"].Hide(); this.menus["start"] = this.MakeStandardMenu(font, uiSound); this.menus["start"].Hide(); }