C# Class World.GameActors.Tiles.Tile

All tiles (objects fixed to the grid) are derived from this abstract class.
Inheritance: GameActor
Mostra file Open project: GoodAI/BrainSimulator Class Usage Examples

Public Properties

Property Type Description
TileType int

Public Methods

Method Description
Center ( Vector2I position ) : System.Vector2
GetPhysicalEntity ( Vector2I position ) : IPhysicalEntity

Protected Methods

Method Description
Tile ( ITilesetTable tilesetTable ) : System
Tile ( int tilesetId ) : System

Method Details

Center() public static method

public static Center ( Vector2I position ) : System.Vector2
position Vector2I
return System.Vector2

GetPhysicalEntity() public method

public GetPhysicalEntity ( Vector2I position ) : IPhysicalEntity
position Vector2I
return IPhysicalEntity

Tile() protected method

protected Tile ( ITilesetTable tilesetTable ) : System
tilesetTable ITilesetTable
return System

Tile() protected method

protected Tile ( int tilesetId ) : System
tilesetId int
return System

Property Details

TileType public_oe property

TileType is number in tsx tileset
public int TileType
return int