getTile method
- WorldState state
Implementation
BoardTile? getTile(WorldState state) {
final table = state.getTableOrDefault(this.table);
final cell = table.getCell(from);
return cell.tiles.elementAtOrNull(index);
}
BoardTile? getTile(WorldState state) {
final table = state.getTableOrDefault(this.table);
final cell = table.getCell(from);
return cell.tiles.elementAtOrNull(index);
}