Beispiel #1
0
        /// <summary>
        /// Draws the menu entry.
        /// </summary>
        public virtual void Draw(MenuScreen screen, GameTime gameTime)
        {
            ScreenManager screenManager = screen.ScreenManager;
            SpriteBatch spriteBatch = screenManager.SpriteBatch;

            if (texture != null)
            {
                spriteBatch.Draw(texture, position, Color.White);
            }
        }
Beispiel #2
0
 /// <summary>
 /// Updates the menu entry.
 /// </summary>
 public virtual void Update(MenuScreen screen, bool isSelected, GameTime gameTime)
 {
 }