Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITileManagerEvents

Hierarchy

  • ITileManagerEvents

Index

Methods

canCreate

  • canCreate(type: TileEventType, x: number, y: number, z: number): boolean | undefined
  • Called when a tile event is about to be created

    Parameters

    • type: TileEventType

      The type of tile event

    • x: number

      The x coordinate where the tile event will be created

    • y: number

      The y coordinate where the tile event will be created

    • z: number

      The z coordinate where the tile event will be created

    Returns boolean | undefined

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

create

  • Called when a tile event is created.

    Parameters

    Returns any

move

  • Called when a tile event is moved.

    Parameters

    Returns any

remove

  • Called when a tile event is removed.

    Parameters

    Returns any

Generated using TypeDoc