From 90d015831c562e4e00f49cc858e9d717b841046a Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 4 Feb 2020 14:34:55 -0500 Subject: [PATCH] Reorganized file structure. --- .../Graphics/Render/TextureBatch.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 RecrownedAthenaeum/Graphics/Render/TextureBatch.cs diff --git a/RecrownedAthenaeum/Graphics/Render/TextureBatch.cs b/RecrownedAthenaeum/Graphics/Render/TextureBatch.cs new file mode 100644 index 0000000..fef3377 --- /dev/null +++ b/RecrownedAthenaeum/Graphics/Render/TextureBatch.cs @@ -0,0 +1,17 @@ +using System; +namespace RecrownedAthenaeum.Graphics.Render { + public class TextureBatch { + private bool begun; + public TextureBatch() { + //TODO Finish batch. + } + public void Begin() { + if (begun) throw new InvalidOperationException("This batch has already been started."); + begun = true; + } + public void End() { + if (!begun) throw new InvalidOperationException("The batch has not begun."); + begun = false; + } + } +} \ No newline at end of file