Nostalgia  2.1.5
TileComponent Class Reference

Base class of the Component can be added to the Tile. More...

Inheritance diagram for TileComponent:

Public Member Functions

TileComponent AddComponent (System.Type type)
 Adds the TileComponent. More...
 
AddComponent< T > ()
 Adds the TileComponent. More...
 
TileComponent GetComponent (System.Type type)
 Gets the TileComponent. More...
 
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...
 

Detailed Description

Base class of the Component can be added to the Tile.

To define the required data by inheriting this class.

Member Function Documentation

TileComponent AddComponent ( System.Type  type)

Adds the TileComponent.

Returns
TileComponent that have been added.
Parameters
typeType of the class you want to add.
T AddComponent< T > ( )

Adds the TileComponent.

Returns
TileComponent that have been added.
Template Parameters
TClass of TileComponent to add.
Type Constraints
T :TileComponent 
TileComponent GetComponent ( System.Type  type)

Gets the TileComponent.

Returns
TileComponent.

The return value may be null if it was not.

Parameters
typeType of the class you want to get.
T GetComponent< T > ( )

Gets the TileComponent.

Returns
TileComponent.

The return value may be null if it was not.

Template Parameters
TClass of TileComponent you want to get.
Type Constraints
T :class 
TileComponent [] GetComponents ( System.Type  type)

Gets the TileComponents.

Returns
Array of TileComponent.
Parameters
typeType of the class you want to get.
T [] GetComponets< T > ( )

Gets the TileComponents.

Returns
Array of TileComponent.
Template Parameters
TClass of TileComponent you want to get.
Type Constraints
T :class 

Property Documentation

Tile tile
get

Gets the tile.