Revision 50e6c5d6
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/tutorials/TutorialActivity.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import org.distorted.library.main.DistortedLibrary; |
27 | 27 |
|
28 |
import org.distorted.objectlib.main.InitAssets; |
|
28 | 29 |
import org.distorted.objectlib.main.ObjectControl; |
29 | 30 |
import org.distorted.objectlib.main.TwistyObject; |
30 | 31 |
|
... | ... | |
225 | 226 |
InputStream jsonStream = object==null ? null : object.getObjectStream(this); |
226 | 227 |
InputStream meshStream = object==null ? null : object.getMeshStream(this); |
227 | 228 |
String name = object==null ? "NULL" : object.getUpperName(); |
228 |
|
|
229 |
control.changeIfDifferent(ordinal,name,meshState,iconMode,jsonStream,meshStream);
|
|
229 |
InitAssets asset = new InitAssets(jsonStream,meshStream); |
|
230 |
control.changeIfDifferent(ordinal,name,meshState,iconMode,asset);
|
|
230 | 231 |
} |
231 | 232 |
|
232 | 233 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Introduce InitAssets. We'll use this later to pass on references to the tablebase file to the TwistyObject (so that it can use this for perfect scrambling)