Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyPyraminxDiamond.java | ||
---|---|---|
19 | 19 |
import org.distorted.objectlib.helpers.ObjectShape; |
20 | 20 |
import org.distorted.objectlib.helpers.ObjectSignature; |
21 | 21 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
22 |
import org.distorted.objectlib.main.InitAssets; |
|
22 | 23 |
import org.distorted.objectlib.main.InitData; |
23 | 24 |
import org.distorted.objectlib.main.ObjectSignatures; |
24 | 25 |
import org.distorted.objectlib.main.ObjectType; |
25 | 26 |
import org.distorted.objectlib.shape.ShapeOctahedron; |
26 | 27 |
import org.distorted.objectlib.touchcontrol.TouchControlOctahedron; |
27 | 28 |
|
28 |
import java.io.InputStream; |
|
29 |
|
|
30 | 29 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
31 | 30 |
|
32 | 31 |
public class TwistyPyraminxDiamond extends ShapeOctahedron |
... | ... | |
49 | 48 |
|
50 | 49 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
51 | 50 |
|
52 |
public TwistyPyraminxDiamond(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
51 |
public TwistyPyraminxDiamond(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
53 | 52 |
{ |
54 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
53 |
super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
|
|
55 | 54 |
} |
56 | 55 |
|
57 | 56 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)