Esempio 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;
 }
Esempio 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;
 }