MakeTiles: change format of tiles.idx (preparing for future capability)

This commit is contained in:
Jason Long 2014-06-17 15:24:14 -04:00
parent 3597e11bbd
commit 2112ee04f0
3 changed files with 154 additions and 7 deletions

View file

@ -111,8 +111,10 @@ public class MakeTiles
for (int i = 0; i < tileNames.length; i++) {
out.writeStartElement("tile");
out.writeAttribute("name", tileNames[i]);
out.writeStartElement("image");
out.writeAttribute("offsetY", Integer.toString(i));
out.writeEndElement();
out.writeEndElement();
}
out.writeEndElement();
out.writeEndDocument();