Ejemplo n.º 1
0
        /// <summary>
        /// Loads the content.
        /// </summary>
        public virtual void LoadContent()
        {
            GraphicsManager.Instance.Graphics.GraphicsDevice.Clear(BackgroundColour.ToXnaColor());

            GuiManager.Instance.LoadContent();

            RegisterEvents();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Draws the content on the specified spriteBatch.
 /// </summary>
 /// <param name="spriteBatch">Sprite batch.</param>
 public virtual void Draw(SpriteBatch spriteBatch)
 {
     GraphicsManager.Instance.Graphics.GraphicsDevice.Clear(BackgroundColour.ToXnaColor());
     GuiManager.Instance.Draw(spriteBatch);
 }