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

            GuiManager.Instance.LoadContent();

            RegisterEvents();
        }
Exemplo 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);
 }