protected String getMapString() {
        StringBuilder buf = new StringBuilder();
        for (Tile[] map1 : map) {
            for (int j = 0; j < map.length; j++) {
                buf.append(map1[j].toString());
            }
            buf.append('\n');
        }
        return buf.toString();
    }