Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWalkToTileHandlerEvents

Hierarchy

  • IWalkToTileHandlerEvents

Index

Methods

Methods

getTilePenalty

  • getTilePenalty(penalty: number, tile: ITile): number
  • Called when calculating the movement penalty of a tile.

    Parameters

    • penalty: number

      The current penalty of the tile

    • tile: ITile

      The tile to get the movement penalty of

    Returns number

Generated using TypeDoc