SunsetHigh.MenuEntry.draw C# (CSharp) Method

draw() public method

public draw ( SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
x_offset int
y_offset int
font Microsoft.Xna.Framework.Graphics.SpriteFont
c Color
return void
        public virtual void draw(SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c)
        {
            sb.DrawString(font, this.getName(),
                new Vector2(x_offset + this.getX(), y_offset + this.getY()), c);
        }