private void generateTerrainMap() { for (int y = 0; y < tcodMap.getHeight(); y++) { for (int x = 0; x < tcodMap.getWidth(); x++) { if (y == 0 || y == 39 || x == 0 || x == 44) { terrain[x, y] = 1; } else { terrain[x, y] = 0; } } } }