Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistySquare.java | ||
---|---|---|
12 | 12 |
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_CHANGING_SQUARE; |
13 | 13 |
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT; |
14 | 14 |
|
15 |
import java.io.InputStream; |
|
16 |
|
|
17 | 15 |
import org.distorted.library.type.Static3D; |
18 | 16 |
import org.distorted.library.type.Static4D; |
17 |
import org.distorted.objectlib.main.InitAssets; |
|
19 | 18 |
import org.distorted.objectlib.main.InitData; |
20 | 19 |
import org.distorted.objectlib.shape.ShapeHexahedron; |
21 | 20 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
... | ... | |
44 | 43 |
|
45 | 44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
46 | 45 |
|
47 |
TwistySquare(InitData data, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
46 |
TwistySquare(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
48 | 47 |
{ |
49 |
super(data, meshState, iconMode, data.getNumLayers()[0], quat, move, scale, stream);
|
|
48 |
super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
|
|
50 | 49 |
} |
51 | 50 |
|
52 | 51 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)