Project

General

Profile

Download (4.95 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / objects / TwistyDino6.java @ cf93ea4e

1
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2020 Leszek Koltunski                                                               //
3
//                                                                                               //
4
// This file is part of Magic Cube.                                                              //
5
//                                                                                               //
6
// Magic Cube is proprietary software licensed under an EULA which you should have received      //
7
// along with the code. If not, check https://distorted.org/magic/License-Magic-Cube.html        //
8
///////////////////////////////////////////////////////////////////////////////////////////////////
9

    
10
package org.distorted.objectlib.objects;
11

    
12
import org.distorted.library.type.Static3D;
13
import org.distorted.library.type.Static4D;
14

    
15
import org.distorted.objectlib.helpers.ObjectSignature;
16
import org.distorted.objectlib.main.InitAssets;
17
import org.distorted.objectlib.main.InitData;
18
import org.distorted.objectlib.main.ObjectSignatures;
19
import org.distorted.objectlib.main.ObjectType;
20

    
21
///////////////////////////////////////////////////////////////////////////////////////////////////
22

    
23
public class TwistyDino6 extends TwistyDino
24
{
25
  public TwistyDino6(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
26
    {
27
    super(meshState, iconMode, quat, move, scale, data, asset);
28
    }
29

    
30
///////////////////////////////////////////////////////////////////////////////////////////////////
31

    
32
  @Override
33
  public int[][] getSolvedQuats()
34
    {
35
    return new int[][]
36
      {
37
        { 4, 0,2,8,10     },   // 4 'X' cubits in the first group
38
        { 4, 1,3,9,11, 10 },   // 4 'Y' cubits in the second group + Q[10]
39
        { 4, 4,5,6,7 , 11 }    // 4 'Z' cubits in the third group + Q[11]
40
      };
41
    }
42

    
43
///////////////////////////////////////////////////////////////////////////////////////////////////
44

    
45
  public int[][] getScrambleEdges()
46
    {
47
    if( mEdges==null )
48
      {
49
      mEdges = new int[][]
50
        {
51
          { 0,8,1,8, 4,1,5,1, 6,7,7,7, 10,2,11,2, 12,6,13,6, 16,3,17,3, 18,5,19,5, 22,4,23,4 },  // 0
52
          {                            10,2,11,2,            16,3,17,3, 18,5,19,5            },  // 1
53
          {          4,1,5,1,                     12,6,13,6,                       22,4,23,4 },  // 2
54
          {          4,1,5,1, 6,7,7,7,                                             22,4,23,4 },  // 3
55
          { 0,8,1,8,                   10,2,11,2,            16,3,17,3                       },  // 4
56
          {          4,1,5,1, 6,7,7,7,            12,6,13,6                                  },  // 5
57
          { 0,8,1,8,                   10,2,11,2,                       18,5,19,5            },  // 6
58
          { 0,8,1,8,                                         16,3,17,3, 18,5,19,5            },  // 7
59
          {                   6,7,7,7,            12,6,13,6,                       22,4,23,4 },  // 8
60
        };
61
      }
62

    
63
    return mEdges;
64
    }
65

    
66
///////////////////////////////////////////////////////////////////////////////////////////////////
67

    
68
  public String getShortName()
69
    {
70
    return ObjectType.DINO_3.name();
71
    }
72

    
73
///////////////////////////////////////////////////////////////////////////////////////////////////
74

    
75
  public ObjectSignature getSignature()
76
    {
77
    return new ObjectSignature(ObjectSignatures.DINO_3);
78
    }
79

    
80
///////////////////////////////////////////////////////////////////////////////////////////////////
81

    
82
  public String getObjectName()
83
    {
84
    return "Dino Cube (6 color)";
85
    }
86

    
87
///////////////////////////////////////////////////////////////////////////////////////////////////
88

    
89
  public String getInventor()
90
    {
91
    return "Robert Webb";
92
    }
93

    
94
///////////////////////////////////////////////////////////////////////////////////////////////////
95

    
96
  public int getYearOfInvention()
97
    {
98
    return 1985;
99
    }
100

    
101
///////////////////////////////////////////////////////////////////////////////////////////////////
102

    
103
  public String[][] getTutorials()
104
    {
105
    return new String[][]{
106
                          {"gb","puTJZqFBQwo","Dino Skewb Cube Tutorial","Bearded Cubing"},
107
                          {"es","6o1Yo5iCxvI","Resolver Cubo Dino","Cuby"},
108
                          {"ru","tWDrCtIv1_U","Как собрать Дино Куб","Алексей Ярыгин"},
109
                          {"fr","hNkpte7Mesc","Comment résoudre le Dino Cube","Valentino Cube"},
110
                          {"de","RqJLI6_C9JA","Dino Cube Tutorial","GerCubing"},
111
                          {"pl","o05DYu8UMio","Dino Cube TUTORIAL PL","MrUk"},
112
                          {"br","jAwjAF8dpOM","Como resolver o Dino Cube","Rafael Cinoto"},
113
                          {"kr","imbrqGPSXWQ","(엑스큐브)완전 정복하기!","초등취미생활"},
114
                          {"vn","GrcZ_Ct2iYI","Tutorial N.7 - Dino","Duy Thích Rubik"},
115
                         };
116
    }
117
}
(13-13/41)