/// <summary> /// Erases SpriteCollection from surface /// </summary> /// <param name="spriteCollection">SpriteCollection to erase</param> /// <param name="background"> /// Background Surface to cover up SpriteCollection /// </param> public void Erase(SpriteCollection spriteCollection, Surface background) { if (spriteCollection == null) { throw new ArgumentNullException("spriteCollection"); } spriteCollection.Erase(this, background); }