diff --git a/RecrownedAthenaeum/Render/RectangleRenderer.cs b/RecrownedAthenaeum/Render/RectangleRenderer.cs
index 9227381..e3080fd 100644
--- a/RecrownedAthenaeum/Render/RectangleRenderer.cs
+++ b/RecrownedAthenaeum/Render/RectangleRenderer.cs
@@ -9,19 +9,19 @@ using System.Threading.Tasks;
namespace RecrownedAthenaeum.Render
{
- public class RectangleBatch : IDisposable
+ public class RectangleRenderer : IDisposable
{
public readonly PrimitiveBatch primitiveBatch;
private bool disposed;
private bool began;
private bool filling;
- public RectangleBatch(PrimitiveBatch primitiveBatch)
+ public RectangleRenderer(PrimitiveBatch primitiveBatch)
{
this.primitiveBatch = primitiveBatch;
}
- public RectangleBatch(GraphicsDevice graphicsDevice, Camera2D camera) : this(new PrimitiveBatch(graphicsDevice, camera, 4))
+ public RectangleRenderer(GraphicsDevice graphicsDevice, Camera2D camera) : this(new PrimitiveBatch(graphicsDevice, camera, 4))
{
}
@@ -53,7 +53,7 @@ namespace RecrownedAthenaeum.Render
/// Height of rectangle.
/// Color of all vertices of this rectangle.
/// Rotation of rectangle. Default is 0 radians.
- public void Rectangle(int x, int y, int width, int height, Color color, double rotation = 0)
+ public void DrawRectangle(int x, int y, int width, int height, Color color, double rotation = 0)
{
if (disposed) throw new ObjectDisposedException(GetType().Name);
if (!began) throw new InvalidOperationException("Renderer must be started by calling Begin.");