Project

General

Profile

« Previous | Next » 

Revision efeca8ef

Added by Leszek Koltunski about 2 years ago

Fixes for scrambling locally-produced bandaged cuboid.
Still does not work completely.

View differences:

src/main/java/org/distorted/objectlib/scrambling/ScrambleStateBandagedCuboid.java
208 208

  
209 209
    for(int axis=0; axis<3; axis++)
210 210
      for(int layer=0; layer<mLayer[axis]; layer++)
211
        {
211 212
        mIsUnblocked[axis][layer] = mSignature.isUnblockedFromLeft(axis,layer);
213
        android.util.Log.e("D", "unblocked from left: axis="+axis+" layer="+layer+" val="+mIsUnblocked[axis][layer]);
214
        }
212 215

  
213 216
    for(int axis=0; axis<3; axis++)
214 217
      if( mLayer[axis]>1 )
......
242 245

  
243 246
  private void printMoves()
244 247
    {
245
    String moves = "";
246

  
247 248
    for(int i=0; i<mNumMoves; i++)
248 249
      {
249
      moves += (mMoves[i]!=null ? " "+mMoves[i].getString() : " NULL");
250
      android.util.Log.e("D", "move "+i+" : "+(mMoves[i]!=null ? " "+mMoves[i].getString() : " NULL") );
250 251
      }
251

  
252
    android.util.Log.e("D", moves);
253 252
    }
254 253

  
255 254
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff