Version: 4.1.0Constructors
- new TileCoordinate(x: number, y: number, layer: number): TileCoordinate
Parameters
x: number
y: number
layer: number
Returns TileCoordinate
Methods
- AddFileId(encodedCoordinate: number, fileId: number): number
Parameters
encodedCoordinate: number
fileId: number
Returns number
- Decode(encodedCoordinate: number): TileCoordinate
Parameters
encodedCoordinate: number
Returns TileCoordinate
- Encode(x: number, y: number, layer: number): number
Parameters
x: number
y: number
layer: number
Returns number
- EncodeCoordinate(coordinate: { layer: number; x: number; y: number }): number
Parameters
coordinate: { layer: number; x: number; y: number }
Returns number
- GetFileId(encodedCoordinate: number): number
Parameters
encodedCoordinate: number
Returns number
- GetLayer(encodedCoordinate: number): number
Parameters
encodedCoordinate: number
Returns number
- RemoveFileId(encodedCoordinate: number): number
Parameters
encodedCoordinate: number
Returns number