Revision 4893ad8a
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/config/ConfigScreenPane.java | ||
---|---|---|
110 | 110 |
mProgramatic = true; |
111 | 111 |
button.setChecked(true); |
112 | 112 |
mProgramatic = false; |
113 |
|
|
114 |
int numFaces = mReader.getNumFaces(); |
|
115 |
act.rotateObject(numFaces); |
|
113 | 116 |
} |
114 | 117 |
|
115 | 118 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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.