C# Class Nez.Tiled.TiledTilesetTile

these exist only for tiles with properties or animations
Show file Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
animationFrames List
id int
isDestructable bool
isOneWayPlatform bool
isSlope bool
properties string>.Dictionary
slopeTopLeft int
slopeTopRight int
tiledMap TiledMap

Public Methods

Method Description
TiledTilesetTile ( int id, TiledMap tiledMap ) : System

Private Methods

Method Description
processProperties ( ) : void

Method Details

TiledTilesetTile() public method

public TiledTilesetTile ( int id, TiledMap tiledMap ) : System
id int
tiledMap TiledMap
return System

Property Details

animationFrames public property

public List animationFrames
return List

id public property

public int id
return int

isDestructable public property

returns the value of an "nez:isDestructable" property if present in the properties dictionary
public bool isDestructable
return bool

isOneWayPlatform public property

returns the value of a "nez:isOneWayPlatform" property if present in the properties dictionary
public bool isOneWayPlatform
return bool

isSlope public property

returns the value of a "nez:isSlope" property if present in the properties dictionary
public bool isSlope
return bool

properties public property

public Dictionary properties
return string>.Dictionary

slopeTopLeft public property

returns the value of a "nez:slopeTopLeft" property if present in the properties dictionary
public int slopeTopLeft
return int

slopeTopRight public property

returns the value of a "nez:slopeTopRight" property if present in the properties dictionary
public int slopeTopRight
return int

tiledMap public property

public TiledMap tiledMap
return TiledMap