Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyDino.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.ObjectShape; |
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.shape.ShapeHexahedron; |
26 | 25 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
... | ... | |
45 | 44 |
|
46 | 45 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
47 | 46 |
|
48 |
TwistyDino(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
47 |
TwistyDino(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
49 | 48 |
{ |
50 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
49 |
super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
|
|
51 | 50 |
} |
52 | 51 |
|
53 | 52 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)