AIsOfCatan.GUIPiece.Draw C# (CSharp) Méthode

Draw() protected méthode

protected Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void
        protected override void Draw(SpriteBatch batch)
        {
            if (Visible)
            {
                batch.Draw(Texture, Position, null, MapScreen.GetPlayerColor(Player), Rotation, Origin, TXAGame.SCALE, SpriteEffects.None, 0f);
            }
        }