Revision a8295031
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyBandagedAbstract.java | ||
---|---|---|
31 | 31 |
import org.distorted.objectlib.helpers.FactoryBandagedCubit; |
32 | 32 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
33 | 33 |
import org.distorted.objectlib.helpers.ObjectSignature; |
34 |
import org.distorted.objectlib.main.InitData; |
|
34 | 35 |
import org.distorted.objectlib.scrambling.ScrambleStateBandaged3x3; |
35 | 36 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
36 | 37 |
import org.distorted.objectlib.helpers.ObjectShape; |
... | ... | |
77 | 78 |
|
78 | 79 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
79 | 80 |
|
80 |
TwistyBandagedAbstract(int[] numL, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
81 |
TwistyBandagedAbstract(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
81 | 82 |
{ |
82 |
super(numL, meshState, iconMode, (numL[0]+numL[1]+numL[2])/3.0f, quat, move, scale, stream);
|
|
83 |
super(data, meshState, iconMode, (data.getNumLayers()[0]+data.getNumLayers()[1]+data.getNumLayers()[2])/3.0f, quat, move, scale, stream);
|
|
83 | 84 |
} |
84 | 85 |
|
85 | 86 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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] )