Project

General

Profile

« Previous | Next » 

Revision a7a7cc9c

Added by Leszek Koltunski over 4 years ago

Add a 5x5x5 cube.

View differences:

src/main/java/org/distorted/magic/RubikActivity.java
39 39
{
40 40
            static final int DEFAULT_SIZE  = 3;
41 41
    private static final int SMALLEST_SIZE = 2;
42
    private static final int[] button_ids  = {R.id.rubikSize2, R.id.rubikSize3, R.id.rubikSize4};
42
    private static final int[] button_ids  = {R.id.rubikSize2, R.id.rubikSize3, R.id.rubikSize4, R.id.rubikSize5};
43 43

  
44 44
    public static final int MIN_SCRAMBLE =  1;
45 45
    public static final int DEF_SCRAMBLE =  3;
......
167 167
      settings.show(getSupportFragmentManager(), null);
168 168
      }
169 169

  
170
///////////////////////////////////////////////////////////////////////////////////////////////////
171

  
172
    public void Scores(View v)
173
      {
174
      RubikScores scores = new RubikScores();
175
      scores.show(getSupportFragmentManager(), null);
176
      }
177

  
170 178
///////////////////////////////////////////////////////////////////////////////////////////////////
171 179

  
172 180
    public void About(View v)

Also available in: Unified diff