Revision a72cd106
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/json/JsonWriter.java | ||
---|---|---|
366 | 366 |
metadata.put("scrambles" , type.getNumScramble() ); |
367 | 367 |
metadata.put("shortname" , type.name() ); |
368 | 368 |
metadata.put("resetmaps" , object.shouldResetTextureMaps() ); |
369 |
metadata.put("num_faces" , object.getNumFaces() ); |
|
369 | 370 |
|
370 | 371 |
return metadata; |
371 | 372 |
} |
Also available in: Unified diff
Include the info about 'numFaces' of a puzzle in the jsons.
Based on this, and the recently introduced 'DEFAULT_ROTs' to the basic Shape classes, rotate each object in the Config so it looks attractive.