Hierarchy

  • IGameEvents

Methods

  • Called when the local player clicks "explore world as ghost"

    Returns any

  • Called when getting the biome type distribution for random biome selection

    Returns undefined | [number, BiomeTypes][]

  • Returns any

  • Returns any

  • Parameters

    • restored: boolean

    Returns any

  • Returns any

  • Returns any

  • Called when the game is starting

    Parameters

    • isLoadingSave: boolean

      True if a save game was loaded

    • playedCount: number

      The number of times the player has played the game (globally, not per slot)

    Returns any

  • Called when the playing entity count changes

    Returns any

  • Called after the field of view has initialized

    Returns void

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Called when the game creates the primary renderer

    Parameters

    Returns any

  • Called when all game state was reset

    Returns any

  • Returns any

  • Called when the turn mode is set

    Parameters

    Returns any

  • Called when the game has stopped being played

    Parameters

    • state: PlayerState

      The state of the player (why the game ended)

    Returns any

  • Called when the game is stopping being played

    Parameters

    • state: PlayerState

      The state of the player (why the game is ending)

    Returns any

  • Parameters

    • tickFlag: TickFlag
    • ticks: number
    • dueToAction: boolean

    Returns any

  • Parameters

    • tickFlag: TickFlag
    • ticks: number
    • dueToAction: boolean

    Returns any

Generated using TypeDoc