예제 #1
0
파일: Surface.cs 프로젝트: ywjno/mynes-code
 /// <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);
 }