file-format: use tile names instead of numbers (write only)

This commit is contained in:
Jason Long 2013-12-12 15:09:02 -05:00
parent da7b30af88
commit 3a16d982a4

View file

@ -2181,7 +2181,9 @@ public class Micropolis
if (x != 0) {
out.writeCharacters(" ");
}
out.writeCharacters(Integer.toString(z));
out.writeCharacters(
Tiles.get(z & LOMASK).name
);
}
out.writeEndElement(); //mapRow
}