diff --git a/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Graphics/SpriteBatch.cs b/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Graphics/SpriteBatch.cs index 4b12f5c1f..a2cc3d4e3 100644 --- a/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Graphics/SpriteBatch.cs +++ b/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Graphics/SpriteBatch.cs @@ -7,10 +7,23 @@ using System.Text; namespace Microsoft.Xna.Framework.Graphics { + public interface ISpriteBatch + { + public void Draw(Texture2D texture, + Vector2 position, + Rectangle? sourceRectangle, + Color color, + float rotation, + Vector2 origin, + Vector2 scale, + SpriteEffects effects, + float layerDepth); + } + /// /// Helper class for drawing text strings and sprites in one or more optimized batches. /// - public class SpriteBatch : GraphicsResource + public class SpriteBatch : GraphicsResource, ISpriteBatch { #region Private Fields readonly SpriteBatcher _batcher;