public void Draw(BatchedSprite sprite, int depth = 0) { if (!drawing) { throw new Exception("Begin() must be called first"); } sprites.Add(Tuple.Create(depth, sprite)); }
public void Draw(BatchedSprite sprite, int depth = 0) { if (!drawing) throw new Exception("Begin() must be called first"); sprites.Add(Tuple.Create(depth, sprite)); }