Options
All
  • Public
  • Public/Protected
  • All
Menu

Module hooks/useSelectedTile

Functions

Functions

Const useSelectedTile

  • useSelectedTile(): TileInfo | undefined
  • React Hook returning info on currently selected game map tile, or undefined when there is no tile selected. Whenever user selects another tile, this hook causes rerender of calling component with new tile information.

    Returns TileInfo | undefined

    Info on currently selected tile, or undefined when there is no tile selected

Generated using TypeDoc