Project

General

Profile

« Previous | Next » 

Revision 5bfc1b49

Added by Leszek Koltunski about 4 years ago

Progress with saving Cube state

View differences:

src/main/java/org/distorted/object/RubikCube.java
19 19

  
20 20
package org.distorted.object;
21 21

  
22
import android.content.SharedPreferences;
22 23
import android.graphics.Bitmap;
23 24
import android.graphics.Canvas;
24 25
import android.graphics.Paint;
......
371 372
      return mQuatAccumulated;
372 373
      }
373 374

  
375
///////////////////////////////////////////////////////////////////////////////////////////////////
376

  
377
   public void savePreferences(SharedPreferences.Editor editor)
378
     {
379
     android.util.Log.e("cube", "saving Preferences");
380
     }
381

  
382
///////////////////////////////////////////////////////////////////////////////////////////////////
383

  
384
   public void restorePreferences(SharedPreferences preferences)
385
     {
386
     android.util.Log.e("cube", "restoring Preferences");
387
     }
388

  
374 389
///////////////////////////////////////////////////////////////////////////////////////////////////
375 390

  
376 391
    public long finishRotationNow(EffectListener listener)

Also available in: Unified diff