Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyBandagedAbstract.java | ||
---|---|---|
15 | 15 |
import org.distorted.library.type.Static4D; |
16 | 16 |
import org.distorted.objectlib.helpers.ObjectShape; |
17 | 17 |
import org.distorted.objectlib.helpers.ObjectSignature; |
18 |
import org.distorted.objectlib.main.InitAssets; |
|
18 | 19 |
import org.distorted.objectlib.main.InitData; |
19 | 20 |
import org.distorted.objectlib.shape.ShapeHexahedron; |
20 | 21 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
21 | 22 |
|
22 |
import java.io.InputStream; |
|
23 |
|
|
24 | 23 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
25 | 24 |
|
26 | 25 |
public abstract class TwistyBandagedAbstract extends ShapeHexahedron |
... | ... | |
43 | 42 |
|
44 | 43 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
45 | 44 |
|
46 |
public TwistyBandagedAbstract(InitData data, int meshState, int iconMode, float size, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
45 |
public TwistyBandagedAbstract(int meshState, int iconMode, float size, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
47 | 46 |
{ |
48 |
super(data, meshState, iconMode, size, quat, move, scale, stream);
|
|
47 |
super(meshState, iconMode, size, quat, move, scale, data, asset);
|
|
49 | 48 |
} |
50 | 49 |
|
51 | 50 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)