Project

General

Profile

« Previous | Next » 

Revision cf93ea4e

Added by Leszek Koltunski about 1 year ago

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)

View differences:

src/main/java/org/distorted/objectlib/shape/ShapeIcosahedron.java
11 11

  
12 12
import org.distorted.library.type.Static3D;
13 13
import org.distorted.library.type.Static4D;
14
import org.distorted.objectlib.main.InitAssets;
14 15
import org.distorted.objectlib.main.InitData;
15 16
import org.distorted.objectlib.main.TwistyObject;
16 17

  
17
import java.io.InputStream;
18

  
19 18
///////////////////////////////////////////////////////////////////////////////////////////////////
20 19

  
21 20
public abstract class ShapeIcosahedron extends TwistyObject
......
57 56

  
58 57
///////////////////////////////////////////////////////////////////////////////////////////////////
59 58

  
60
  public ShapeIcosahedron(InitData data, int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InputStream stream)
59
  public ShapeIcosahedron(int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
61 60
    {
62
    super(data, meshState, iconMode, realSize, quat, move, scale, stream);
61
    super(meshState, iconMode, realSize, quat, move, scale, data, asset);
63 62
    }
64 63

  
65 64
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff