| SpriteCollection Methods |
The SpriteCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Add a dynamic sprite to the end of this sprite collection.
| |
| Clean |
Remove inactive dynamic sprites from the collection
| |
| Clear | Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Determine the index of the specified sprite in the collection.
| |
| Remove |
Remove the specified sprite from this collection.
| |
| RemoveAt | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |