Project

General

Profile

« Previous | Next » 

Revision 0ad6b867

Added by Leszek Koltunski over 2 years ago

Convert Skewb Ultimate, Jing Pyraminx & Ivy Cube to the new, unified scrambling method.

View differences:

src/main/java/org/distorted/objects/TwistyBandagedFused.java
28 28
import org.distorted.library.type.Static4D;
29 29
import org.distorted.main.R;
30 30

  
31
import java.util.Random;
32

  
33 31
///////////////////////////////////////////////////////////////////////////////////////////////////
34 32

  
35 33
class TwistyBandagedFused extends TwistyBandagedAbstract
......
74 72
    {
75 73
    super(size, quat, texture, mesh, effects, moves, ObjectList.BAN1, res, scrWidth);
76 74

  
75
    int[] tmp = {0,-1,0, 0,1,0, 0,2,0, 2,-1,0, 2,1,0, 2,2,0};
76

  
77 77
    mStates = new ScrambleStateGraph[]
78 78
      {
79
      new ScrambleStateGraph( new int[][] {
80
                                           {0,-1,0, 0,1,0, 0,2,0, 2,-1,0, 2,1,0, 2,2,0},
81
                                           {0,-1,0, 0,1,0, 0,2,0, 2,-1,0, 2,1,0, 2,2,0},
82
                                           {0,-1,0, 0,1,0, 0,2,0, 2,-1,0, 2,1,0, 2,2,0},
83
                                          }
84
                            )
79
      new ScrambleStateGraph( new int[][] {tmp,tmp,tmp} )
85 80
      };
86 81
    }
87 82

  

Also available in: Unified diff