Bug.Display.Button.Draw C# (CSharp) Méthode

Draw() public méthode

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void
        public override void Draw(SpriteBatch batch)
        {
            batch.Draw(tex, new Rectangle(x, y, tex.Width, tex.Height), Color.White);
        }