Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/TerrainTile

Type aliases

Functions

Type aliases

Props

Props: object

React props for TerrainTile component

Type declaration

  • Optional mined?: undefined | false | true

    True if the tile was already mined in this turn, false otherwise

  • tile: TileInfo

    Map tile which should be presented by this component

Functions

Const TerrainTile

  • TerrainTile(__namedParameters: object): Element
  • React Component presenting info about currently selected game map tile. Moreover, it displays coordinates of the game map tile which is currently under the mouse cursor.

    Parameters

    • __namedParameters: object
      • mined: undefined | false | true
      • tile: TileInfo

    Returns Element

Generated using TypeDoc