Example #1
0
        /// Initialize method. We're using it to init VAPI and Renderer, also to load Fonts and Textures
        protected override void Initialize()
        {
            GeneralManager.Initalize(Content, graphics.PreferredBackBufferWidth, graphics.PreferredBackBufferHeight, this);
            Renderer.Init(graphics.GraphicsDevice);

            LoadTextures();
            LoadFonts();

            GeneralManager.CurrentScreen = new MainMenuScreen(this);            //Setting first scene to load and activating it

            base.Initialize();
        }