Hierarchy

Methods

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

    Returns void

  • 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