Methods
exploreAsGhost
- exploreAsGhost(): any
-
Returns any
getBiomeTypeChances
- getBiomeTypeChances(): undefined | [number, BiomeTypes][]
-
Returns undefined | [number, BiomeTypes][]
glInitialized
- glInitialized(): any
-
Returns any
glLostContext
- glLostContext(): any
-
Returns any
glSetup
- glSetup(restored: boolean): any
-
Returns any
loadStep
- loadStep(): any
-
Returns any
pause
- pause(): any
-
Returns any
play
- play(isLoadingSave: boolean, playedCount: number): any
-
Parameters
-
isLoadingSave: boolean
-
playedCount: number
Returns any
playingEntityChange
- playingEntityChange(): any
-
Returns any
Optional
postFieldOfView
- postFieldOfView(): void
-
Returns void
postSaveGame
- postSaveGame(saveType: SaveType): any
-
Returns any
preSaveGame
- preSaveGame(saveType: SaveType): any
-
Returns any
rendererCreated
- rendererCreated(renderer: default): any
-
Returns any
reset
- reset(): any
-
Returns any
resume
- resume(): any
-
Returns any
setTurnMode
- setTurnMode(turnMode: TurnMode): any
-
Returns any
stopPlay
- stopPlay(state: PlayerState): any
-
Returns any
stoppingPlay
- stoppingPlay(state: PlayerState): any
-
Returns any
tickEnd
- tickEnd(tickFlag: TickFlag, ticks: number, dueToAction: boolean): any
-
Parameters
-
-
ticks: number
-
dueToAction: boolean
Returns any
tickStart
- tickStart(tickFlag: TickFlag, ticks: number, dueToAction: boolean): any
-
Parameters
-
-
ticks: number
-
dueToAction: boolean
Returns any
Called when the local player clicks "explore world as ghost"