Project

General

Profile

« Previous | Next » 

Revision 27a70eae

Added by Leszek Koltunski about 4 years ago

Make RubikCube and RubikCubeMovement generic and not visible outside of their package.

View differences:

src/main/java/org/distorted/uistate/RubikStateSolving.java
33 33
import java.util.TimerTask;
34 34

  
35 35
import static android.view.View.INVISIBLE;
36
import static org.distorted.object.RubikObject.LENGTH;
36
import static org.distorted.object.RubikObjectList.LENGTH;
37 37
import static org.distorted.uistate.RubikStatePlay.MAX_SCRAMBLE;
38 38

  
39 39
///////////////////////////////////////////////////////////////////////////////////////////////////
40 40

  
41 41
public class RubikStateSolving extends RubikStateAbstract
42 42
  {
43
  private static final int NO_RECORD = Integer.MAX_VALUE;
43
  private static final long NO_RECORD = Integer.MAX_VALUE;
44 44

  
45 45
  private TextView mTime;
46 46
  private Timer mTimer;
......
132 132
    for(int i=0; i<LENGTH; i++)
133 133
      for(int j=0; j<MAX_SCRAMBLE; j++)
134 134
        {
135
        mRecords[i][j] = preferences.getInt("record_"+i+"_"+j, NO_RECORD );
135
        mRecords[i][j] = preferences.getLong("record_"+i+"_"+j, NO_RECORD );
136 136
        }
137 137
    }
138 138

  

Also available in: Unified diff