using System; namespace RecrownedGTK.Graphics.Render { public class Batch { private bool begun; public Batch() { //TODO: Finish this class. } 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; } } }