MakeTiles: change format of tiles.idx (preparing for future capability)
This commit is contained in:
parent
3597e11bbd
commit
2112ee04f0
3 changed files with 154 additions and 7 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue