C# Class Nez.Tiled.TiledTilesetTile

these exist only for tiles with properties or animations
Exibir arquivo 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_oe property

public List animationFrames
return List

id public_oe property

public int id
return int

isDestructable public_oe property

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

isOneWayPlatform public_oe property

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

isSlope public_oe property

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

properties public_oe property

public Dictionary properties
return string>.Dictionary

slopeTopLeft public_oe property

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

slopeTopRight public_oe property

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

tiledMap public_oe property

public TiledMap tiledMap
return TiledMap