Project

General

Profile

« Previous | Next » 

Revision eaee1ddc

Added by Leszek Koltunski almost 4 years ago

Add the 4-color Dino.

Still one thing needs to be done about it: randomization of Moves (now sometimes in Level 1 the randomized move leads to an already solved position)

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
61 61
         new int[][] {
62 62
                       {3 , 10, R.raw.dino, R.drawable.ui_small_dino, R.drawable.ui_medium_dino, R.drawable.ui_big_dino, R.drawable.ui_huge_dino} ,
63 63
                     },
64
         RubikDino.class,
64
         RubikDino6.class,
65
         new RubikMovementDino(),
66
         2
67
       ),
68

  
69
  DIN4 (
70
         new int[][] {
71
                       {3 ,  7, R.raw.dino, R.drawable.ui_small_din4, R.drawable.ui_medium_din4, R.drawable.ui_big_din4, R.drawable.ui_huge_din4} ,
72
                     },
73
         RubikDino4.class,
65 74
         new RubikMovementDino(),
66 75
         2
67 76
       ),
......
457 466
      {
458 467
      case 0: return new RubikCube      (size, quat, texture, mesh, effects, moves, res, scrWidth);
459 468
      case 1: return new RubikPyraminx  (size, quat, texture, mesh, effects, moves, res, scrWidth);
460
      case 2: return new RubikDino      (size, quat, texture, mesh, effects, moves, res, scrWidth);
461
      case 3: return new RubikSkewb     (size, quat, texture, mesh, effects, moves, res, scrWidth);
462
      case 4: return new RubikHelicopter(size, quat, texture, mesh, effects, moves, res, scrWidth);
469
      case 2: return new RubikDino6     (size, quat, texture, mesh, effects, moves, res, scrWidth);
470
      case 3: return new RubikDino4     (size, quat, texture, mesh, effects, moves, res, scrWidth);
471
      case 4: return new RubikSkewb     (size, quat, texture, mesh, effects, moves, res, scrWidth);
472
      case 5: return new RubikHelicopter(size, quat, texture, mesh, effects, moves, res, scrWidth);
463 473
      }
464 474

  
465 475
    return null;

Also available in: Unified diff