예제 #1
0
 public static void Render(TextureRegion region, Vector2 position, float a, Vector2 origin, Vector2 scale, SpriteEffects flip = SpriteEffects.None)
 {
     Batch.Draw(region.Texture, position, region.Source, Color, a, origin, scale, flip, 0);
 }
예제 #2
0
 public static void Render(TextureRegion region, Vector2 position)
 {
     Batch.Draw(region.Texture, position, region.Source, Color);
 }