Hierarchy

Methods

  • Called when the entity is created in the game Also called for players that "rejoin" the game

    Returns void

  • Emitted when the fire stage of this tile event changes.
    Note: The fire stage of tile event is not saved, so when the tile event's fire stage is first checked on load, this event will be emitted.

    Parameters

    Returns any

  • Called when an entity is killed by another entity.

    Parameters

    Returns void

  • Called before moving. Can be called twice for humans

    Parameters

    • fromTile: default
    • toTile: default
    • isMoving: boolean

      True the second time it's called, right as the entity is about to actually move

    Returns undefined | boolean | void

  • Called when the entity is removed from the game

    Returns void

  • Called when the entity is renamed

    Returns void

Generated using TypeDoc