Revision cf93ea4e
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/shape/ShapeHexahedron.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package org.distorted.objectlib.shape; |
11 | 11 |
|
12 |
import java.io.InputStream; |
|
13 |
|
|
14 | 12 |
import org.distorted.library.type.Static3D; |
15 | 13 |
import org.distorted.library.type.Static4D; |
14 |
import org.distorted.objectlib.main.InitAssets; |
|
16 | 15 |
import org.distorted.objectlib.main.InitData; |
17 | 16 |
import org.distorted.objectlib.main.TwistyObject; |
18 | 17 |
|
... | ... | |
35 | 34 |
|
36 | 35 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
37 | 36 |
|
38 |
public ShapeHexahedron(InitData data, int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InputStream stream)
|
|
37 |
public ShapeHexahedron(int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
|
|
39 | 38 |
{ |
40 |
super(data, meshState, iconMode, realSize, quat, move, scale, stream);
|
|
39 |
super(meshState, iconMode, realSize, quat, move, scale, data, asset);
|
|
41 | 40 |
} |
42 | 41 |
|
43 | 42 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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)