C# Class TiledMapper.Tile

Tiled Mapper's tile, a single element of the tiled map.
Show file Open project: rotators/tools Class Usage Examples

Public Methods

Method Description
AttachToTile ( Tile tile, int fromDir ) : Tile
DropTile ( int dir ) : Tile
GetBlock ( int dir ) : bool
GetNeighbour ( int dir ) : Tile
IsPath ( int dir ) : bool
SetBlock ( int dir, bool val ) : void
Tile ( ) : System
Tile ( int variant, bool wide ) : System
ToggleBlock ( int dir ) : void

Protected Methods

Method Description
attachTile ( Tile tile, int fromDir ) : void
setBlock ( int dir, bool val ) : void

Method Details

AttachToTile() public method

public AttachToTile ( Tile tile, int fromDir ) : Tile
tile Tile
fromDir int
return Tile

DropTile() public method

public DropTile ( int dir ) : Tile
dir int
return Tile

GetBlock() public method

public GetBlock ( int dir ) : bool
dir int
return bool

GetNeighbour() public method

public GetNeighbour ( int dir ) : Tile
dir int
return Tile

IsPath() public method

public IsPath ( int dir ) : bool
dir int
return bool

SetBlock() public method

public SetBlock ( int dir, bool val ) : void
dir int
val bool
return void

Tile() public method

public Tile ( ) : System
return System

Tile() public method

public Tile ( int variant, bool wide ) : System
variant int
wide bool
return System

ToggleBlock() public method

public ToggleBlock ( int dir ) : void
dir int
return void

attachTile() protected method

protected attachTile ( Tile tile, int fromDir ) : void
tile Tile
fromDir int
return void

setBlock() protected method

protected setBlock ( int dir, bool val ) : void
dir int
val bool
return void