public static void Draw(this SpriteBatch batch, TextureRegion frame, Rectangle destinationRect, Color color) { batch.Draw(frame.Texture, destinationRect, frame.SourceRect, color, 0f, Vector2.Zero, SpriteEffects.None, 0f); }
public void Add(string name, TextureRegion frame) { _regions[name] = frame; }