public void Remove(BlockConfigElement spr)
 {
     if (BaseIndexOf(spr) >= 0)
     {
         BaseRemove(spr.SpriteID);
     }
 }
        public BlockSpritesCollection()
        {
            // Add one level to the collection.  This is
            // not necessary; could leave the collection
            // empty until items are added to it outside
            // the constructor.
            BlockConfigElement levSprite =
                (BlockConfigElement)CreateNewElement();

            Add(levSprite);
        }
 public void Add(BlockConfigElement spr)
 {
     BaseAdd(spr);
     // Add custom code here.
 }
 public int IndexOf(BlockConfigElement spr)
 {
     return(BaseIndexOf(spr));
 }