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