Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TileEventManager

Hierarchy

  • TileEventManager

Implements

Index

Methods

canHarvest

  • canHarvest(tile: ITile): boolean

create

  • create(type: TileEventType.None | TileEventType.Fire | TileEventType.HoneyFungus, x: number, y: number, z: number): ITileEvent | undefined
  • Parameters

    • type: TileEventType.None | TileEventType.Fire | TileEventType.HoneyFungus
    • x: number
    • y: number
    • z: number

    Returns ITileEvent | undefined

get

  • get(tile: ITile, type: TileEventType.None | TileEventType.Fire | TileEventType.HoneyFungus): ITileEvent
  • Parameters

    • tile: ITile
    • type: TileEventType.None | TileEventType.Fire | TileEventType.HoneyFungus

    Returns ITileEvent

initialize

  • initialize(): void

remove

updateAll

  • updateAll(): void

Generated using TypeDoc