[]
Represents a collection of tiles.
public class TileCollection : Collection<Tile>, IList<Tile>, ICollection<Tile>, IList, ICollection, IReadOnlyList<Tile>, IReadOnlyCollection<Tile>, IEnumerable<Tile>, IEnumerable
| Name | Description |
|---|---|
| this[string] | Gets the first Tile with the specified name in the collection. |
| Name | Description |
|---|---|
| Clear(bool) | Removes all tiles from the collection, then disposes the tiles. |
| ClearItems() | Removes all items from the TileCollection. |
| Contains(string) | Determines whether this collection contains a Tile with the specified name. |
| IndexOf(string) | Determines index of the first Tile with the specified name in the collection. |
| InsertItem(int, Tile) | Inserts a Tile into the TileCollection at the specified index. |
| Remove(string) | Removes the first occurrence of the Tile with the specified name from the collection. |
| RemoveItem(int) | Removes the item at the specified index of the TileCollection. |
| SetItem(int, Tile) | Replaces the Tile at the specified index. |