tileTypeListBelow method

List<String> tileTypeListBelow()

Method that checks what types map tile is currently

Implementation

List<String> tileTypeListBelow() {
  if (!hasGameRef) return [];
  final map = gameRef.map;
  if (map.getRenderedTiles().isNotEmpty) {
    return tileListBelow().map<String>((e) => e.tileClass!).toList();
  }
  return [];
}