Preparing search index...
The search index is not available
labyrinthos
labyrinthos
TileMap
Class TileMap
Index
Constructors
constructor
Properties
data
default
Rogue
Like
depth
height
tile
Height
tile
Width
width
x
y
Methods
apply
Biome
fill
fill2D
fill3D
find
Tiles
By
Id
get
Tile
At
get
Tile
Id
By
Name
initialize
Data
Array
mask
query
query3D
random
scale
To
Tile
Range
seed
seed
Random
toJSON
to
TiledJSON
use
Constructors
constructor
new
Tile
Map
(
options
?
)
:
TileMap
Parameters
Optional
options
:
TileMapOptions
Returns
TileMap
Properties
data
data
:
number
[]
|
number
[]
[]
default
Rogue
Like
default
Rogue
Like
:
string
[]
depth
depth
:
number
height
height
:
number
tile
Height
tile
Height
:
number
tile
Width
tile
Width
:
number
width
width
:
number
x
x
:
number
y
y
:
number
Methods
apply
Biome
apply
Biome
(
biome
)
:
void
Parameters
biome
:
Biome
Returns
void
fill
fill
(
value
)
:
void
Parameters
value
:
number
Returns
void
fill2D
fill2D
(
value
)
:
void
Parameters
value
:
number
Returns
void
fill3D
fill3D
(
value
,
z
)
:
void
Parameters
value
:
number
z
:
number
Returns
void
find
Tiles
By
Id
find
Tiles
By
Id
(
tileId
)
:
{
x
:
number
;
y
:
number
;
z
?:
number
;
}
[]
Parameters
tileId
:
number
Returns
{
x
:
number
;
y
:
number
;
z
?:
number
;
}
[]
get
Tile
At
get
Tile
At
(
x
,
y
,
z
?
)
:
number
Parameters
x
:
number
y
:
number
Optional
z
:
number
Returns
number
get
Tile
Id
By
Name
get
Tile
Id
By
Name
(
tileName
)
:
number
Parameters
tileName
:
string
Returns
number
initialize
Data
Array
initialize
Data
Array
(
)
:
number
[]
|
number
[]
[]
Returns
number
[]
|
number
[]
[]
mask
mask
(
format
?
)
:
string
[]
Parameters
Optional
format
:
string
[]
Returns
string
[]
query
query
(
options
)
:
TileMap
Parameters
options
:
{
height
?:
number
;
tileName
?:
string
;
width
?:
number
;
x
?:
number
;
y
?:
number
;
z
?:
number
;
}
Optional
height
?:
number
Optional
tile
Name
?:
string
Optional
width
?:
number
Optional
x
?:
number
Optional
y
?:
number
Optional
z
?:
number
Returns
TileMap
query3D
query3D
(
options
)
:
any
[]
Parameters
options
:
{
depth
?:
number
;
height
?:
number
;
tileName
?:
string
;
width
?:
number
;
x
?:
number
;
y
?:
number
;
z
?:
number
;
}
Optional
depth
?:
number
Optional
height
?:
number
Optional
tile
Name
?:
string
Optional
width
?:
number
Optional
x
?:
number
Optional
y
?:
number
Optional
z
?:
number
Returns
any
[]
random
random
(
max
)
:
number
Parameters
max
:
number
Returns
number
scale
To
Tile
Range
scale
To
Tile
Range
(
tileSetRange
)
:
void
Parameters
tileSetRange
:
number
Returns
void
seed
seed
(
value
)
:
void
Parameters
value
:
number
Returns
void
seed
Random
seed
Random
(
)
:
void
Returns
void
toJSON
toJSON
(
)
:
string
Returns
string
to
TiledJSON
to
TiledJSON
(
)
:
any
Returns
any
use
use
(
subMap
,
offsetX
,
offsetY
)
:
void
Parameters
subMap
:
TileMap
offsetX
:
number
offsetY
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
data
default
Rogue
Like
depth
height
tile
Height
tile
Width
width
x
y
apply
Biome
fill
fill2D
fill3D
find
Tiles
By
Id
get
Tile
At
get
Tile
Id
By
Name
initialize
Data
Array
mask
query
query3D
random
scale
To
Tile
Range
seed
seed
Random
toJSON
to
TiledJSON
use
labyrinthos
Biome
LSystem
TileMap
TileSet
labyrinthos
mazes
MazeGeneratorFunction
Generated using
TypeDoc