Ejemplo n.º 1
0
 public static void Draw(this SpriteBatch spriteBatch, ITexture2D texture, Vector2 position, Color color, float scale)
 {
     texture.Draw(position, color, scale, spriteBatch);
 }
Ejemplo n.º 2
0
 public static void Draw(this SpriteBatch spriteBatch, ITexture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color)
 {
     texture.Draw(destinationRectangle, sourceRectangle, color, spriteBatch);
 }