getTile method

BoardTile? getTile(
  1. WorldState state
)

Implementation

BoardTile? getTile(WorldState state) {
  final table = state.getTableOrDefault(position.table);
  final cell = table.getCell(position.position);
  return cell.tiles.elementAtOrNull(index);
}