Hierarchy

Methods

  • Called when a creature is about to be spawned

    Returns

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

    Parameters

    • type: CreatureType

      The type of creature

    • tile: default

      The tile where the creature will be spawned

    • aberrant: boolean

      True if the creature is an aberrant

    Returns undefined | boolean

  • Parameters

    Returns any

  • Called when a creature is spawned from a creature group

    Returns

    False to cancel spawning the creature or undefined to use the default logic

    Parameters

    • creatureGroup: SpawnGroup

      The creature group

    • creaturePool: CreatureType[]

      The pool of creatures that can be spawned

    • tile: default

      The tile where the creature will be spawned

    Returns undefined | boolean

  • Parameters

    Returns any

Generated using TypeDoc