Example #1
0
        private GeneralOptions CreateGeneralOptions()
        {
            var opts = new GeneralOptions(this);

            opts.Load();
            return(opts);
        }
Example #2
0
        /// <summary>
        /// Load all the game content.
        /// </summary>
        /// <param name="game">Instance of game which calls this method.</param>
        /// <param name="platform">The platform program runs on.</param>
        public static void Load(Game game, Platform platform)
        {
            _game = game;

            GeneralOptions.Load(game, platform);

            TextureManager.LoadTextures();
            FontManager.LoadFonts();
            _textObject = new TextObject(new Camera(), FontManager.AntigoniMed50, "0", DisplayOptions.MiddleOfScreen * 0.8f);

            MenuScreenManager.LoadScreens();
            MenuScreenManager.AllScreensLoaded();
        }