示例#1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Draw(Icon, Position, null, Color.White, 0f, Vector2.Zero, scale, SpriteEffects.None, 1);
     Name.Draw(spriteBatch);
 }
示例#2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Draw(Texture, Position, Color.White);
     text.Draw(spriteBatch);
 }