Nostalgia
2.1.5
|
Base class of the Component can be added to the Tile. More...
Public Member Functions | |
TileComponent | AddComponent (System.Type type) |
Adds the TileComponent. More... | |
T | AddComponent< T > () |
Adds the TileComponent. More... | |
TileComponent | GetComponent (System.Type type) |
Gets the TileComponent. More... | |
T | GetComponent< T > () |
Gets the TileComponent. More... | |
TileComponent[] | GetComponents (System.Type type) |
Gets the TileComponents. More... | |
T[] | GetComponets< T > () |
Gets the TileComponents. More... | |
Properties | |
Tile | tile [get] |
Gets the tile. More... | |
Base class of the Component can be added to the Tile.
To define the required data by inheriting this class.
TileComponent AddComponent | ( | System.Type | type | ) |
Adds the TileComponent.
type | Type of the class you want to add. |
T AddComponent< T > | ( | ) |
Adds the TileComponent.
T | Class of TileComponent to add. |
T | : | TileComponent |
TileComponent GetComponent | ( | System.Type | type | ) |
Gets the TileComponent.
The return value may be null if it was not.
type | Type of the class you want to get. |
T GetComponent< T > | ( | ) |
Gets the TileComponent.
The return value may be null if it was not.
T | Class of TileComponent you want to get. |
T | : | class |
TileComponent [] GetComponents | ( | System.Type | type | ) |
Gets the TileComponents.
type | Type of the class you want to get. |
T [] GetComponets< T > | ( | ) |
Gets the TileComponents.
T | Class of TileComponent you want to get. |
T | : | class |
|
get |
Gets the tile.