Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreatureManager

Hierarchy

  • CreatureManager

Implements

Index

Methods

checkSpawnReputation

getCreaturesWithSpawnGroup

getHappinessLevel

getMovePenalty

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

getMoveTypesInFov

maybeSpawnClawWorm

  • maybeSpawnClawWorm(player: IPlayer): void

remove

spawn

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

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

    Returns ICreature | undefined

spawnFromGroup

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

updateAll

  • updateAll(): void

updateFov

  • updateFov(): number

Generated using TypeDoc