Hierarchy

Methods

  • Called when a player-like human (player / special npc) is spawned

    Parameters

    Returns any

  • Called when a npc is about to be spawned

    Returns

    False if the npc cannot spawn, or undefined to use the default logic

    Parameters

    • type: NPCType

      The type of npc

    • tile: default

      The tile where the npc will be spawned

    Returns undefined | boolean

  • Parameters

    Returns any

  • Called when a player-like human (player / special npc) is removed

    Parameters

    Returns any

  • Parameters

    Returns any

Generated using TypeDoc