Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICreatureManager

Hierarchy

  • ICreatureManager

Implemented by

Index

Methods

checkSpawnReputation

  • Parameters

    Returns boolean

getCreaturesWithSpawnGroup

  • Parameters

    • Optional group: SpawnGroup
    • Optional checkReputation: boolean

    Returns CreatureType[]

getHappinessLevel

getMovePenalty

  • getMovePenalty(moveType: MoveType, tile: ITile, isFinalMove?: boolean): number
  • Parameters

    Returns number

getMoveTypesInFov

  • Returns IMoveTypeZ[]

remove

  • Parameters

    Returns void

spawn

  • spawn(creatureType: CreatureType, x: number, y: number, z: number, bypass?: boolean, forceAberrant?: boolean): number | null
  • Parameters

    • creatureType: CreatureType
    • x: number
    • y: number
    • z: number
    • Optional bypass: boolean
    • Optional forceAberrant: boolean

    Returns number | null

spawnClawWorm

  • spawnClawWorm(player: IPlayer): void
  • Parameters

    Returns void

spawnFromGroup

  • spawnFromGroup(creatureGroup: SpawnGroup, x: number, y: number, z: number, bypass?: boolean): number | null
  • Parameters

    • creatureGroup: SpawnGroup
    • x: number
    • y: number
    • z: number
    • Optional bypass: boolean

    Returns number | null

updateAll

  • updateAll(): void
  • Returns void

updateFov

  • updateFov(excludeLocal: boolean): void
  • Parameters

    • excludeLocal: boolean

    Returns void

Generated using TypeDoc