Revision a8295031
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyFisher.java | ||
---|---|---|
24 | 24 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
25 | 25 |
import org.distorted.objectlib.helpers.ObjectShape; |
26 | 26 |
import org.distorted.objectlib.helpers.ObjectSignature; |
27 |
import org.distorted.objectlib.main.InitData; |
|
27 | 28 |
import org.distorted.objectlib.scrambling.ScrambleState; |
28 | 29 |
import org.distorted.objectlib.main.ObjectType; |
29 | 30 |
import org.distorted.objectlib.main.ShapeHexahedron; |
... | ... | |
53 | 54 |
|
54 | 55 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
55 | 56 |
|
56 |
public TwistyFisher(int[] numL, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
57 |
public TwistyFisher(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
57 | 58 |
{ |
58 |
super(numL, meshState, iconMode, numL[0], quat, move, scale, stream);
|
|
59 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
59 | 60 |
} |
60 | 61 |
|
61 | 62 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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] )