Exemplo n.º 1
0
 public void RemoveQuadsAtIndex(int index, int amount)
 {
     Debug.Assert(index + amount <= Quads.Count, "removeQuadAtIndex: Invalid index");
     Quads.RemoveAt(index, amount);
     Dirty = true;
 }
Exemplo n.º 2
0
 // Removes a quad at a given index number.
 // The capacity remains the same, but the total number of quads to be drawn is reduced in 1
 public void RemoveQuadAtIndex(int index)
 {
     Debug.Assert(index < Quads.Count, "removeQuadAtIndex: Invalid index");
     Quads.RemoveAt(index);
     Dirty = true;
 }