C# Class TiledMapper.Tile

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
attachTile ( Tile tile, int fromDir ) : void
setBlock ( int dir, bool val ) : void

Method Details

AttachToTile() public méthode

public AttachToTile ( Tile tile, int fromDir ) : Tile
tile Tile
fromDir int
Résultat Tile

DropTile() public méthode

public DropTile ( int dir ) : Tile
dir int
Résultat Tile

GetBlock() public méthode

public GetBlock ( int dir ) : bool
dir int
Résultat bool

GetNeighbour() public méthode

public GetNeighbour ( int dir ) : Tile
dir int
Résultat Tile

IsPath() public méthode

public IsPath ( int dir ) : bool
dir int
Résultat bool

SetBlock() public méthode

public SetBlock ( int dir, bool val ) : void
dir int
val bool
Résultat void

Tile() public méthode

public Tile ( ) : System
Résultat System

Tile() public méthode

public Tile ( int variant, bool wide ) : System
variant int
wide bool
Résultat System

ToggleBlock() public méthode

public ToggleBlock ( int dir ) : void
dir int
Résultat void

attachTile() protected méthode

protected attachTile ( Tile tile, int fromDir ) : void
tile Tile
fromDir int
Résultat void

setBlock() protected méthode

protected setBlock ( int dir, bool val ) : void
dir int
val bool
Résultat void