Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyRedi.java | ||
---|---|---|
12 | 12 |
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_HEXAHEDRON; |
13 | 13 |
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_SPLIT_CORNER; |
14 | 14 |
|
15 |
import java.io.InputStream; |
|
16 |
|
|
17 | 15 |
import org.distorted.library.type.Static3D; |
18 | 16 |
import org.distorted.library.type.Static4D; |
19 | 17 |
|
... | ... | |
21 | 19 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
22 | 20 |
import org.distorted.objectlib.helpers.ObjectSignature; |
23 | 21 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
22 |
import org.distorted.objectlib.main.InitAssets; |
|
24 | 23 |
import org.distorted.objectlib.main.InitData; |
25 | 24 |
import org.distorted.objectlib.main.ObjectSignatures; |
26 | 25 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
... | ... | |
47 | 46 |
|
48 | 47 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
49 | 48 |
|
50 |
public TwistyRedi(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
49 |
public TwistyRedi(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
51 | 50 |
{ |
52 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
51 |
super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
|
|
53 | 52 |
} |
54 | 53 |
|
55 | 54 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)