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