Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
renderer/world/World
default
Class default
Hierarchy
Host
<
IWorldEvents
>
default
Implements
ISerializable
Index
Constructors
constructor
Properties
event
height
island
layers
width
Accessors
loaded
Methods
add
Layer
deserialize
Object
end
Update
Tile
Batch
initialize
load
resume
Layer
Updates
serialize
Object
start
Update
Tile
Batch
suspend
Layer
Updates
to
Local
unload
update
All
update
Tile
update
Tile
Layer
Constructors
constructor
new default
(
island
:
default
)
:
default
Parameters
island:
default
Returns
default
Properties
Readonly
event
event
:
IEventEmitter
<
default
,
IWorldEvents
>
height
height
:
number
Readonly
island
island
:
default
Readonly
layers
layers
:
Map
<
WorldZ
,
WorldLayer
>
= ...
width
width
:
number
Accessors
loaded
get
loaded
(
)
:
boolean
Returns
boolean
Methods
add
Layer
add
Layer
(
z
:
WorldZ
)
:
void
Parameters
z:
WorldZ
Returns
void
deserialize
Object
deserialize
Object
(
serializer
:
ISerializer
)
:
undefined
|
boolean
Parameters
serializer:
ISerializer
Returns
undefined
|
boolean
end
Update
Tile
Batch
end
Update
Tile
Batch
(
)
:
void
Returns
void
initialize
initialize
(
)
:
void
Called after the island map size is configured
Returns
void
load
load
(
)
:
void
Returns
void
resume
Layer
Updates
resume
Layer
Updates
(
)
:
void
Returns
void
serialize
Object
serialize
Object
(
_serializer
:
ISerializer
)
:
default
Parameters
_serializer:
ISerializer
Returns
default
start
Update
Tile
Batch
start
Update
Tile
Batch
(
)
:
void
Returns
void
suspend
Layer
Updates
suspend
Layer
Updates
(
)
:
void
Returns
void
to
Local
to
Local
(
world
:
number
, local
:
number
)
:
number
Parameters
world:
number
local:
number
Returns
number
unload
unload
(
)
:
void
Returns
void
update
All
update
All
(
)
:
void
Returns
void
update
Tile
update
Tile
(
tile
:
default
, tileUpdateType
:
TileUpdateType
, updateNeighbors
?:
boolean
, skipFlowFieldUpdate
?:
boolean
)
:
void
Parameters
tile:
default
tileUpdateType:
TileUpdateType
updateNeighbors:
boolean
= false
skipFlowFieldUpdate:
boolean
= false
Returns
void
update
Tile
Layer
update
Tile
Layer
(
tile
:
default
, updateNeighbors
?:
boolean
, flushTileImmediately
:
boolean
)
:
void
Parameters
tile:
default
updateNeighbors:
boolean
= false
flushTileImmediately:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
event
height
island
layers
width
loaded
add
Layer
deserialize
Object
end
Update
Tile
Batch
initialize
load
resume
Layer
Updates
serialize
Object
start
Update
Tile
Batch
suspend
Layer
Updates
to
Local
unload
update
All
update
Tile
update
Tile
Layer
Generated using
TypeDoc
Called after the island map size is configured