Revision a8295031
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyUltimate.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
31 | 31 |
import org.distorted.objectlib.helpers.ObjectSignature; |
32 |
import org.distorted.objectlib.main.InitData; |
|
32 | 33 |
import org.distorted.objectlib.touchcontrol.TouchControlDodecahedron; |
33 | 34 |
import org.distorted.objectlib.main.ObjectType; |
34 | 35 |
import org.distorted.objectlib.helpers.ObjectShape; |
... | ... | |
62 | 63 |
|
63 | 64 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
64 | 65 |
|
65 |
public TwistyUltimate(int[] numL, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
66 |
public TwistyUltimate(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
66 | 67 |
{ |
67 |
super(numL, meshState, iconMode, numL[0], quat, move, scale, stream);
|
|
68 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
68 | 69 |
} |
69 | 70 |
|
70 | 71 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Introduce InitData, a data structure used to initialize a TwistyObject.
Current (optional) members: int[] numLayers, int param [intended: type of the Crazy 3x3 planet], float[][] pos [position of a bandaged cube] )