for (int i = 0; i < heightInTiles; i++) { for (int j = 0; j < widthInTiles; j++) { if (map[i][j] == tile) { map[i][j] = myMap.getNullTile();
for (int y = 0; y < bounds.height; y++) { for (int x = 0; x < bounds.width; x++) { if (map[y][x] == tile) { map[y][x] = myMap.getNullTile();
    public void removeTile(Tile tile) {        for (int i = 0; i < heightInTiles; i++) {            for (int j = 0; j < widthInTiles; j++) {                if (map[i][j] == tile) {                    map[i][j] = myMap.getNullTile();                }            }        }    }