Project

General

Profile

« Previous | Next » 

Revision 1b7ece90

Added by Leszek Koltunski over 2 years ago

Standarize two next functions - getSolvedQuats and getSolvedFunctionIndex.
Now all objects except Dino6, Dino4 and Square-2 have them the same.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare2.java
45 45
    super(numL, meshState, quat, move, scale, stream);
46 46
    }
47 47

  
48
///////////////////////////////////////////////////////////////////////////////////////////////////
49

  
50
  public int[] getSolvedQuats(int cubit, int[] numLayers)
51
    {
52
    return null;
53
    }
54

  
55
///////////////////////////////////////////////////////////////////////////////////////////////////
56

  
57
  public int getSolvedFunctionIndex()
58
    {
59
    return 3;
60
    }
61

  
48 62
///////////////////////////////////////////////////////////////////////////////////////////////////
49 63

  
50 64
  public ScrambleState[] getScrambleStates()
......
70 84
    return mStates;
71 85
    }
72 86

  
73
///////////////////////////////////////////////////////////////////////////////////////////////////
74

  
75
  public int[] getSolvedQuats(int cubit, int[] numLayers)
76
    {
77
    return null;
78
    }
79

  
80 87
///////////////////////////////////////////////////////////////////////////////////////////////////
81 88

  
82 89
  public float[][] getCubitPositions(int[] numLayers)
......
267 274
    return cubit<2 ? 0 : (cubit<10 ? 1:2);
268 275
    }
269 276

  
270
///////////////////////////////////////////////////////////////////////////////////////////////////
271

  
272
  public int getSolvedFunctionIndex()
273
    {
274
    return 3;
275
    }
276

  
277 277
///////////////////////////////////////////////////////////////////////////////////////////////////
278 278

  
279 279
  public float getStickerRadius()

Also available in: Unified diff