Reorganized file structure.
This commit is contained in:
parent
0de8e52a7e
commit
90d015831c
17
RecrownedAthenaeum/Graphics/Render/TextureBatch.cs
Normal file
17
RecrownedAthenaeum/Graphics/Render/TextureBatch.cs
Normal file
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user