Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyCrazy3x3.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package org.distorted.objectlib.objects; |
11 | 11 |
|
12 |
import java.io.InputStream; |
|
13 | 12 |
import java.util.ArrayList; |
14 | 13 |
|
15 | 14 |
import org.distorted.library.type.Static3D; |
... | ... | |
20 | 19 |
import org.distorted.objectlib.helpers.ObjectSignature; |
21 | 20 |
import org.distorted.objectlib.helpers.ObjectStickerOverride; |
22 | 21 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
22 |
import org.distorted.objectlib.main.InitAssets; |
|
23 | 23 |
import org.distorted.objectlib.main.ObjectSignatures; |
24 | 24 |
import org.distorted.objectlib.scrambling.ScrambleEdgeGenerator; |
25 | 25 |
import org.distorted.objectlib.main.TwistyObjectCubit; |
... | ... | |
66 | 66 |
|
67 | 67 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
68 | 68 |
|
69 |
public TwistyCrazy3x3(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
69 |
public TwistyCrazy3x3(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
70 | 70 |
{ |
71 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
71 |
super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
|
|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)