v0.13.0.11

This commit is contained in:
Juan Pablo Arce
2021-04-22 13:11:21 -03:00
parent 245b48c3a3
commit dde6212577
52 changed files with 3196 additions and 3507 deletions
@@ -7,23 +7,10 @@ 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);
}
/// <summary>
/// Helper class for drawing text strings and sprites in one or more optimized batches.
/// </summary>
public class SpriteBatch : GraphicsResource, ISpriteBatch
public class SpriteBatch : GraphicsResource
{
#region Private Fields
readonly SpriteBatcher _batcher;