Exemple #1
0
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);

            //Load all the textures
            TEXTURES.LoadContent(this.Content);

            //Load all our fonts
            FONTS.LoadContent(this.Content);


            //Load the content for our game
            foreach (Module m in modules)
            {
                if (m != null)
                {
                    m.LoadContent();
                }
            }
        }