Project

General

Profile

« Previous | Next » 

Revision 20931cf6

Added by Leszek Koltunski about 4 years ago

Progress making the Solver state more abstract.

View differences:

src/main/java/org/distorted/states/RubikStateSolver.java
78 78
    RubikStatePlay play = (RubikStatePlay)RubikState.PLAY.getStateClass();
79 79
    play.setObjectAndSize(RubikObjectList.CUBE,3);
80 80

  
81
int[] colors = RubikObjectList.retFaceColors(RubikObjectList.CUBE);
82

  
83
if( colors != null )
84
  {
85
  int len = colors.length;
86

  
87
  android.util.Log.e("solver", "retColors len="+len+" first: "+colors[0]);
88
  }
89
else
90
  {
91
  android.util.Log.e("solver", "retColors null");
92
  }
93

  
81 94
    DisplayMetrics metrics = act.getResources().getDisplayMetrics();
82 95
    final float scale = metrics.density;
83 96

  

Also available in: Unified diff