Project

General

Profile

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

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

1 500896d3 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2022 Leszek Koltunski                                                               //
3
//                                                                                               //
4
// This file is part of Magic Cube.                                                              //
5
//                                                                                               //
6 6133be67 Leszek Koltunski
// 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 500896d3 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
9
10
package org.distorted.objectlib.objects;
11
12
import org.distorted.library.type.Static3D;
13
import org.distorted.library.type.Static4D;
14 84a17011 Leszek Koltunski
import org.distorted.objectlib.helpers.FactoryCubit;
15 500896d3 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectFaceShape;
16
import org.distorted.objectlib.helpers.ObjectShape;
17 1d581993 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectSignature;
18 84a17011 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectVertexEffects;
19 cf93ea4e Leszek Koltunski
import org.distorted.objectlib.main.InitAssets;
20 2dffaf22 Leszek Koltunski
import org.distorted.objectlib.main.ObjectSignatures;
21 9ba7f3f6 Leszek Koltunski
import org.distorted.objectlib.scrambling.ScrambleEdgeGenerator;
22 a8295031 Leszek Koltunski
import org.distorted.objectlib.main.InitData;
23 500896d3 Leszek Koltunski
import org.distorted.objectlib.main.ObjectType;
24 b31249d6 Leszek Koltunski
import org.distorted.objectlib.shape.ShapeHexahedron;
25 500896d3 Leszek Koltunski
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron;
26
27
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_CHANGING_SHAPEMOD;
28
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
29
30
///////////////////////////////////////////////////////////////////////////////////////////////////
31
32
public class TwistyAxis extends ShapeHexahedron
33
{
34
  static final Static3D[] ROT_AXIS = new Static3D[]
35
         {
36 325a17e0 Leszek Koltunski
           new Static3D(-2.0f/3, 1.0f/3, 2.0f/3),
37
           new Static3D( 1.0f/3,-2.0f/3, 2.0f/3),
38
           new Static3D( 2.0f/3, 2.0f/3, 1.0f/3),
39 500896d3 Leszek Koltunski
         };
40
41 9ba7f3f6 Leszek Koltunski
  private int[][] mEdges;
42 beee90ab Leszek Koltunski
  private int[][] mBasicAngle;
43 500896d3 Leszek Koltunski
  private float[][] mCuts;
44
  private float[][] mCenters;
45
  private int[] mQuatIndex;
46
47
///////////////////////////////////////////////////////////////////////////////////////////////////
48
49 cf93ea4e Leszek Koltunski
  public TwistyAxis(int meshState, int iconMode, Static4D quat, Static3D move, float scale, InitData data, InitAssets asset)
50 500896d3 Leszek Koltunski
    {
51 cf93ea4e Leszek Koltunski
    super(meshState, iconMode, data.getNumLayers()[0], quat, move, scale, data, asset);
52 500896d3 Leszek Koltunski
    }
53
54
///////////////////////////////////////////////////////////////////////////////////////////////////
55
56
  @Override
57
  public int getInternalColor()
58
    {
59 e29d5c29 Leszek Koltunski
    return 0xff222222;
60 500896d3 Leszek Koltunski
    }
61
62
///////////////////////////////////////////////////////////////////////////////////////////////////
63
64 9ba7f3f6 Leszek Koltunski
  public int[][] getScrambleEdges()
65 500896d3 Leszek Koltunski
    {
66 27249eea Leszek Koltunski
    if( mEdges==null ) mEdges = ScrambleEdgeGenerator.getScrambleEdgesCuboid(3,3,3);
67 9ba7f3f6 Leszek Koltunski
    return mEdges;
68 500896d3 Leszek Koltunski
    }
69
70
///////////////////////////////////////////////////////////////////////////////////////////////////
71
72
  public float[][] getCuts(int[] numLayers)
73
    {
74
    if( mCuts==null )
75
      {
76 325a17e0 Leszek Koltunski
      float C = 0.5f;
77 500896d3 Leszek Koltunski
      float[] cut = new float[] {-C,+C};
78
      mCuts = new float[][] { cut,cut,cut };
79
      }
80
81
    return mCuts;
82
    }
83
84
///////////////////////////////////////////////////////////////////////////////////////////////////
85
86
  public boolean[][] getLayerRotatable(int[] numLayers)
87
    {
88
    boolean[] tmp = new boolean[] {true,true,true};
89
    return new boolean[][] { tmp,tmp,tmp };
90
    }
91
92
///////////////////////////////////////////////////////////////////////////////////////////////////
93
94
  public int getTouchControlType()
95
    {
96
    return TC_CHANGING_SHAPEMOD;
97
    }
98
99
///////////////////////////////////////////////////////////////////////////////////////////////////
100
101
  public int getTouchControlSplit()
102
    {
103
    return TYPE_NOT_SPLIT;
104
    }
105
106
///////////////////////////////////////////////////////////////////////////////////////////////////
107
108
  public int[][][] getEnabled()
109
    {
110
    return null;
111
    }
112
113
///////////////////////////////////////////////////////////////////////////////////////////////////
114
115
  public float[] getDist3D(int[] numLayers)
116
    {
117
    return TouchControlHexahedron.D3D;
118
    }
119
120
///////////////////////////////////////////////////////////////////////////////////////////////////
121
122
  public Static3D[] getFaceAxis()
123
    {
124
    return TouchControlHexahedron.FACE_AXIS;
125
    }
126
127
///////////////////////////////////////////////////////////////////////////////////////////////////
128
129
  public float[][] getCubitPositions(int[] numLayers)
130
    {
131
    if( mCenters==null )
132
      {
133
      mCenters = new float[][]
134
         {
135 e29d5c29 Leszek Koltunski
             { 1.50f, 1.50f, 0.75f},
136
             {-0.75f, 1.50f,-1.50f},
137
             { 1.50f,-0.75f,-1.50f},
138
             {-1.50f, 0.75f, 1.50f},
139
             { 0.75f,-1.50f, 1.50f},
140
             {-1.50f,-1.50f,-0.75f},
141
142
             {0.375f, 1.50f,-0.375f},
143
             {0.375f,0.375f,-1.50f },
144
             { 1.50f,0.375f,-0.375f},
145
             {-0.375f,-0.375f,1.50f},
146
             {-0.375f,-1.50f,0.375f},
147
             {-1.50f,-0.375f,0.375f},
148
149
             { 0.00f, 1.50f, 1.50f},
150
             {-1.50f, 0.00f,-1.50f},
151
             { 1.50f,-1.50f, 0.00f},
152
153
             {-1.50f, 1.50f, 0.00f},
154
             { 0.00f,-1.50f,-1.50f},
155
             { 1.50f, 0.00f, 1.50f},
156
157
             { 1.50f, 1.50f,-1.50f},
158
             {-1.50f,-1.50f, 1.50f},
159
160
             {-0.5f, 1.5f, 0.5f},
161
             { 0.5f,-1.5f,-0.5f},
162
             { 1.5f,-0.5f, 0.5f},
163
             {-1.5f, 0.5f,-0.5f},
164
             { 0.5f, 0.5f, 1.5f},
165
             {-0.5f,-0.5f,-1.5f},
166 500896d3 Leszek Koltunski
         };
167
      }
168
169
    return mCenters;
170
    }
171
172
///////////////////////////////////////////////////////////////////////////////////////////////////
173
174
  public Static4D getCubitQuats(int cubit, int[] numLayers)
175
    {
176 a4af26c1 Leszek Koltunski
    if( mQuatIndex==null )
177
      {
178
      mQuatIndex = new int[] { 0,22,10,17,14,19,
179
                               0,22,10,17,14,19,
180
                               0,22,10,
181
                               0,22,10,
182
                               0,14,
183
                               0,14,10,19,17,22
184
                             };
185
      }
186 e29d5c29 Leszek Koltunski
    return mObjectQuats[mQuatIndex[cubit]];
187 500896d3 Leszek Koltunski
    }
188
189
///////////////////////////////////////////////////////////////////////////////////////////////////
190
191 84a17011 Leszek Koltunski
  private float[][] getVertices(int variant)
192 500896d3 Leszek Koltunski
    {
193 325a17e0 Leszek Koltunski
    final float T = 1.0f/3;
194
195 84a17011 Leszek Koltunski
    if( variant==0 )
196 500896d3 Leszek Koltunski
      {
197 84a17011 Leszek Koltunski
      return new float[][]
198 500896d3 Leszek Koltunski
          {
199 325a17e0 Leszek Koltunski
              { -1.0f, 0.0f, -0.25f  },
200
              {  0.0f, 0.0f, -0.75f  },
201
              {  0.0f, 0.0f,  0.75f  },
202
              {  0.0f,-1.0f, -0.25f  },
203
              {  -5*T, -2*T, -1.75f*T},
204
              { -1.0f,-1.0f, -1.25f  },
205
              {  -4*T, -4*T,  0.25f*T},
206
              {  -2*T, -5*T, -1.75f*T}
207 500896d3 Leszek Koltunski
          };
208 84a17011 Leszek Koltunski
      }
209
    else if( variant==1 )
210
      {
211
      return new float[][]
212
          {
213
              {-0.375f  , 0.0f, -1.125f  },
214
              { 1.125f  , 0.0f,  0.375f  },
215
              {-0.875f  , 0.0f, -0.125f  },
216
              { 0.125f  , 0.0f,  0.875f  },
217
              {-1.625f*T, -2*T,  1.625f*T},
218
              { 0.125f  ,-1.0f, -0.125f  }
219
          };
220
      }
221
    else if( variant==2 )
222
      {
223
      return new float[][]
224
          {
225
              {-1.5f  , 0.0f, 0.0f},
226
              { 0.5f  , 0.0f,-1.0f},
227
              { 1.5f  , 0.0f, 0.0f},
228
              {-0.5f  ,-1.0f, 0.0f},
229
              {-0.5f*T, -2*T, -4*T},
230
              { 0.5f*T, -4*T, -2*T},
231
          };
232
      }
233
    else if( variant==3 )
234
      {
235
      return new float[][]
236
          {
237
              {0.0f, 0.0f, -1.5f  },
238
              {1.0f, 0.0f, -0.5f  },
239
              {0.0f, 0.0f,  1.5f  },
240
              {0.0f,-1.0f,  0.5f  },
241
              { 4*T, -2*T,  0.5f*T},
242
              { 2*T, -4*T, -0.5f*T}
243
          };
244
      }
245
    else if( variant==4 )
246
      {
247
      return new float[][]
248
          {
249
              { 0.0f, 0.0f, 0.0f},
250
              {-1.5f, 0.0f, 0.0f},
251
              { 0.0f,-1.5f, 0.0f},
252
              { 0.0f, 0.0f, 1.5f},
253
              {-1.0f,-1.0f, 1.0f}
254
          };
255
      }
256
    else
257
      {
258
      return new float[][]
259
          {
260
              {-1.0f, 0.0f, 1.0f},
261
              { 0.0f, 0.0f,-1.0f},
262
              { 1.0f, 0.0f, 0.0f},
263
              {    T, -2*T,   -T}
264
          };
265
      }
266
    }
267 500896d3 Leszek Koltunski
268 84a17011 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
269
270
  public ObjectShape getObjectShape(int variant)
271
    {
272
    if( variant==0 )  // center
273
      {
274 500896d3 Leszek Koltunski
      int[][] indices =
275
          {
276 325a17e0 Leszek Koltunski
              {2,1,0},
277
              {2,3,1},
278
              {4,6,2,0},
279
              {6,7,3,2},
280
              {7,5,1,3},
281
              {5,4,0,1},
282
              {7,6,4,5}
283 500896d3 Leszek Koltunski
          };
284
285 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
286 500896d3 Leszek Koltunski
      }
287 325a17e0 Leszek Koltunski
    else if( variant==1 ) // edge type 1
288
      {
289
      int[][] indices =
290
          {
291
              {2,3,1,0},
292
              {2,4,3},
293
              {4,5,1,3},
294
              {5,0,1},
295
              {5,4,2,0}
296
          };
297
298 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
299 325a17e0 Leszek Koltunski
      }
300
    else if( variant==2 ) // edge type 2
301 500896d3 Leszek Koltunski
      {
302
      int[][] indices =
303
          {
304 3543d0dc Leszek Koltunski
              {0,2,1},
305
              {0,3,2},
306
              {3,5,2},
307
              {1,4,0},
308
              {4,5,3,0},
309
              {5,4,1,2}
310 500896d3 Leszek Koltunski
          };
311
312 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
313 500896d3 Leszek Koltunski
      }
314 325a17e0 Leszek Koltunski
    else if( variant==3 ) // edge type 3
315 500896d3 Leszek Koltunski
      {
316
      int[][] indices =
317
          {
318 3543d0dc Leszek Koltunski
              {0,2,1},
319
              {0,3,2},
320
              {0,5,3},
321
              {5,4,2,3},
322
              {4,1,2},
323
              {4,5,0,1}
324 500896d3 Leszek Koltunski
          };
325
326 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
327 500896d3 Leszek Koltunski
      }
328 325a17e0 Leszek Koltunski
    else if( variant==4 ) // corner type 1
329 500896d3 Leszek Koltunski
      {
330
      int[][] indices =
331
          {
332 3543d0dc Leszek Koltunski
              {1,3,0},
333
              {3,2,0},
334
              {2,1,0},
335
              {3,1,4},
336
              {2,3,4},
337
              {1,2,4}
338 500896d3 Leszek Koltunski
          };
339
340 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
341 500896d3 Leszek Koltunski
      }
342 325a17e0 Leszek Koltunski
    else                 // corner type 2
343 500896d3 Leszek Koltunski
      {
344
      int[][] indices =
345
          {
346 3543d0dc Leszek Koltunski
              {0,2,1},
347
              {0,3,2},
348
              {2,3,1},
349
              {1,3,0}
350 500896d3 Leszek Koltunski
          };
351
352 84a17011 Leszek Koltunski
      return new ObjectShape(getVertices(variant), indices);
353 500896d3 Leszek Koltunski
      }
354
    }
355
356
///////////////////////////////////////////////////////////////////////////////////////////////////
357
358
  public ObjectFaceShape getObjectFaceShape(int variant)
359
    {
360 3bf19410 Leszek Koltunski
    float height = isInIconMode() ? 0.001f : 0.025f;
361
362 500896d3 Leszek Koltunski
    if( variant==0 )
363
      {
364 3bf19410 Leszek Koltunski
      float[][] bands   = { {height,20,0.2f,0.4f,5,1,0}, {0.001f,20,0.2f,0.4f,5,1,0} };
365 325a17e0 Leszek Koltunski
      int[] bandIndices = { 0,0,1,1,1,1,1 };
366 84a17011 Leszek Koltunski
      return new ObjectFaceShape(bands,bandIndices,null);
367
      }
368
    else if( variant==1 )
369
      {
370
      float[][] bands   = { {height,20,0.2f,0.4f,5,1,0}, {0.001f,20,0.2f,0.4f,5,1,0} };
371
      int[] bandIndices = { 0,1,1,1,1 };
372
      return new ObjectFaceShape(bands,bandIndices,null);
373
      }
374
    else if( variant==2 )
375
      {
376
      float[][] bands   = { {height,20,0.2f,0.4f,5,1,0}, {0.001f,20,0.2f,0.4f,5,1,0} };
377
      int[] bandIndices = { 0,0,1,1,1,1 };
378
      return new ObjectFaceShape(bands,bandIndices,null);
379
      }
380
    else if( variant==3 )
381
      {
382
      float[][] bands   = { {height,20,0.2f,0.4f,5,1,0}, {0.001f,20,0.2f,0.4f,5,1,0} };
383
      int[] bandIndices = { 0,0,1,1,1,1 };
384
      return new ObjectFaceShape(bands,bandIndices,null);
385
      }
386
    else if( variant==4 )
387
      {
388
      float[][] bands   = { {height,20,0.2f,0.4f,5,1,0}, {0.001f,20,0.2f,0.4f,5,1,0} };
389
      int[] bandIndices = { 0,0,0,1,1,1 };
390
      return new ObjectFaceShape(bands,bandIndices,null);
391
      }
392
    else
393
      {
394
      float h1 = isInIconMode() ? 0.001f : 0.05f;
395
      float h2 = isInIconMode() ? 0.001f : 0.01f;
396
      float[][] bands   = { {h1,35,0.25f,0.7f,5,1,0}, {h2,35,0.25f,0.7f,5,1,0} };
397
      int[] bandIndices = { 0,1,1,1 };
398
      return new ObjectFaceShape(bands,bandIndices,null);
399
      }
400
    }
401
402
///////////////////////////////////////////////////////////////////////////////////////////////////
403
404
  public ObjectVertexEffects getVertexEffects(int variant)
405
    {
406
    if( variant==0 )
407
      {
408
      float[][] vertices= getVertices(variant);
409 500896d3 Leszek Koltunski
      float[][] corners = { {0.04f,0.09f} };
410 325a17e0 Leszek Koltunski
      int[] indices     = { 0,0,0,0,-1,-1,-1,-1 };
411
      float[][] centers = { { -0.5f, -0.5f, 0.0f } };
412 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
413 500896d3 Leszek Koltunski
      }
414
    else if( variant==1 )
415
      {
416 84a17011 Leszek Koltunski
      float[][] vertices= getVertices(variant);
417 325a17e0 Leszek Koltunski
      float[][] corners = { {0.04f,0.09f} };
418
      int[] indices     = { 0,0,0,0,-1,-1 };
419 e29d5c29 Leszek Koltunski
      float[][] centers = { { -5.0f/24, -5.0f/6, 5.0f/24} };
420 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
421 500896d3 Leszek Koltunski
      }
422 3543d0dc Leszek Koltunski
    else if( variant==2 )
423
      {
424 84a17011 Leszek Koltunski
      float[][] vertices= getVertices(variant);
425 3543d0dc Leszek Koltunski
      float[][] corners = { {0.04f,0.09f} };
426
      int[] indices     = { 0,0,0,0,-1,-1 };
427
      float[][] centers = { { 0.0f, -1.0f, -1.0f } };
428 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
429 3543d0dc Leszek Koltunski
      }
430
    else if( variant==3 )
431
      {
432 84a17011 Leszek Koltunski
      float[][] vertices= getVertices(variant);
433 3543d0dc Leszek Koltunski
      float[][] corners = { {0.04f,0.09f} };
434
      int[] indices     = { 0,0,0,0,-1,-1 };
435
      float[][] centers = { { 1.0f, -1.0f, 0.0f } };
436 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
437 3543d0dc Leszek Koltunski
      }
438
    else if( variant==4 )
439
      {
440 84a17011 Leszek Koltunski
      float[][] vertices= getVertices(variant);
441 3543d0dc Leszek Koltunski
      float[][] corners = { {0.03f,0.08f} };
442
      int[] indices     = { 0,0,0,0,-1 };
443
      float[][] centers = { { -1.0f, -1.0f, 1.0f } };
444 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
445 3543d0dc Leszek Koltunski
      }
446 500896d3 Leszek Koltunski
    else
447
      {
448 84a17011 Leszek Koltunski
      float[][] vertices= getVertices(variant);
449 500896d3 Leszek Koltunski
      float[][] corners = { {0.04f,0.12f} };
450 3543d0dc Leszek Koltunski
      int[] indices     = { 0,0,0,-1 };
451
      float[][] centers = { { 1.0f/3, -2.0f/3,-1.0f/3 } };
452 84a17011 Leszek Koltunski
      return FactoryCubit.generateVertexEffect(vertices,corners,indices,centers,indices);
453 500896d3 Leszek Koltunski
      }
454
    }
455
456
///////////////////////////////////////////////////////////////////////////////////////////////////
457
458
  public int getNumCubitVariants(int[] numLayers)
459
    {
460 3543d0dc Leszek Koltunski
    return 6;
461 500896d3 Leszek Koltunski
    }
462
463
///////////////////////////////////////////////////////////////////////////////////////////////////
464
465
  public int getCubitVariant(int cubit, int[] numLayers)
466
    {
467 e29d5c29 Leszek Koltunski
    if( cubit<6 ) return 0;
468
    if( cubit<12) return 1;
469
    if( cubit<15) return 2;
470
    if( cubit<18) return 3;
471
    if( cubit<20) return 4;
472
473
    return 5;
474 500896d3 Leszek Koltunski
    }
475
476
///////////////////////////////////////////////////////////////////////////////////////////////////
477
478
  public float getStickerRadius()
479
    {
480
    return 0.13f;
481
    }
482
483
///////////////////////////////////////////////////////////////////////////////////////////////////
484
485
  public float getStickerStroke()
486
    {
487 3bf19410 Leszek Koltunski
    return isInIconMode() ? 0.22f : 0.10f;
488 500896d3 Leszek Koltunski
    }
489
490
///////////////////////////////////////////////////////////////////////////////////////////////////
491
492
  public float[][] getStickerAngles()
493
    {
494
    return null;
495
    }
496
497
///////////////////////////////////////////////////////////////////////////////////////////////////
498
// PUBLIC API
499
500
  public Static3D[] getRotationAxis()
501
    {
502
    return ROT_AXIS;
503
    }
504
505
///////////////////////////////////////////////////////////////////////////////////////////////////
506
507 5f54927b Leszek Koltunski
  public String getShortName()
508 500896d3 Leszek Koltunski
    {
509 5f54927b Leszek Koltunski
    return ObjectType.AXIS_3.name();
510 500896d3 Leszek Koltunski
    }
511
512
///////////////////////////////////////////////////////////////////////////////////////////////////
513
514 1d581993 Leszek Koltunski
  public ObjectSignature getSignature()
515 500896d3 Leszek Koltunski
    {
516 2dffaf22 Leszek Koltunski
    return new ObjectSignature(ObjectSignatures.AXIS_3);
517 5f54927b Leszek Koltunski
    }
518
519
///////////////////////////////////////////////////////////////////////////////////////////////////
520
521 beee90ab Leszek Koltunski
  public int[][] getBasicAngles()
522 5f54927b Leszek Koltunski
    {
523 beee90ab Leszek Koltunski
    if( mBasicAngle ==null )
524
      {
525
      int num = getNumLayers()[0];
526
      int[] tmp = new int[num];
527
      for(int i=0; i<num; i++) tmp[i] = 4;
528
      mBasicAngle = new int[][] { tmp,tmp,tmp };
529
      }
530
531 5f54927b Leszek Koltunski
    return mBasicAngle;
532 500896d3 Leszek Koltunski
    }
533
534
///////////////////////////////////////////////////////////////////////////////////////////////////
535
536
  public String getObjectName()
537
    {
538
    return "Axis Cube";
539
    }
540
541
///////////////////////////////////////////////////////////////////////////////////////////////////
542
543
  public String getInventor()
544
    {
545
    return "Aleh Hladzilin";
546
    }
547
548
///////////////////////////////////////////////////////////////////////////////////////////////////
549
550
  public int getYearOfInvention()
551
    {
552
    return 2008;
553
    }
554
555
///////////////////////////////////////////////////////////////////////////////////////////////////
556
557
  public int getComplexity()
558
    {
559
    return 2;
560
    }
561
562
///////////////////////////////////////////////////////////////////////////////////////////////////
563
564
  public String[][] getTutorials()
565
    {
566
    return new String[][]{
567
                          {"gb","DdYBkV07WpM","How to Solve the Axis Cube","Z3"},
568
                          {"es","oLWCj8-6G4Q","Resolver Axis Cube","Cuby"},
569
                          {"ru","pgPtyD7DV7A","Как собрать Аксис Куб","Алексей Ярыгин"},
570
                          {"fr","4M7cOgjZHSY","Résolution de l'Axis Cube","asthalis"},
571
                          {"de","CVPII1-sEqw","Axis Cube Tutorial","Pezcraft"},
572
                          {"pl","Yrmq0m4vjfE","Axis Cube TUTORIAL PL","MrUk"},
573
                          {"br","5HoM4_fQOM8","Como resolver o axis cube ","Gabriel Sihnel"},
574
                          {"kr","8KjHoNOGWLE","엑시스 큐브 해법","듀나메스 큐브 해법연구소"},
575 a399e91b Leszek Koltunski
                          {"vn","ESdOqn7Tikg","Tutorial N.17 - Axis Cube","Duy Thích Rubik"},
576 500896d3 Leszek Koltunski
                         };
577
    }
578
}