WangTile
WangSet object.
Tags
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
$tileId
The tile ID.
private
int|null
$tileId
= null
Tags
$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
Methods
getTileId()
public
getTileId() : int|null
Return values
int|null —getWangId()
public
getWangId() : string|null
Return values
string|null —setTileId()
public
setTileId(int|null $tileId) : WangTile
Parameters
- $tileId : int|null
Return values
WangTile —setWangId()
public
setWangId(string|null $wangId) : WangTile
Parameters
- $wangId : string|null