Documentation

WangTile

WangSet object.

Tags
see
https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#wangtile

Documentation

Table of Contents

$tileId  : int|null
The tile ID.
$wangId  : string|null
The Wang ID.
getTileId()  : int|null
getWangId()  : string|null
setTileId()  : WangTile
setWangId()  : WangTile

Properties

$wangId

The Wang ID.

private string|null $wangId = null

A 32-bit unsigned integer stored in the format 0xCECECECE (where each C is a corner color and each E is an edge color, from right to left clockwise, starting with the top edge)

Tags
see
WangTile::getWangId()
see
WangTile::setWangId()

Methods

getTileId()

public getTileId() : int|null
Return values
int|null

getWangId()

public getWangId() : string|null
Return values
string|null

setWangId()

public setWangId(string|null $wangId) : WangTile
Parameters
$wangId : string|null
Return values
WangTile

Search results