recrownedgtk/RecrownedAthenaeum/Graphics/Render/Batch.cs

13 lines
323 B
C#
Raw Normal View History

using System;
namespace RecrownedAthenaeum.Graphics.Render {
public class Batch {
private bool begun;
public Batch() {
}
public void Begin() {
if (begun) throw new InvalidOperationException("This batch has already been started.");
begun = true;
}
}
}