Project

General

Profile

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

distorted-objectlib / src / main / java / org / distorted / objectlib / metadata / MetadataCUBE_2.java @ de830b16

1
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2023 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.metadata;
11

    
12
import org.distorted.objectlib.R;
13
import org.distorted.objectlib.objects.TwistyCuboid;
14

    
15
///////////////////////////////////////////////////////////////////////////////////////////////////
16

    
17
public class MetadataCUBE_2 extends Metadata
18
  {
19
  public static int INDEX = 0;
20
  public MetadataCUBE_2()         { super( TwistyCuboid.class, new int[] {2,2,2}, 0, null, INDEX ); }
21
  public int numScrambles()       { return 12; }
22
  public int icon()               { return R.drawable.cube_2; }
23
  public int extrasJson()         { return R.raw.cube_2_extras; }
24
  public int objectJson()         { return R.raw.cube_2_object; }
25
  public int mesh()               { return R.raw.cube_2; }
26
  public String getInventor()     { return "Larry Nichols"; }
27
  public int getYearOfInvention() { return 1970; }
28
  public float getComplexity()    { return 1.6f; }
29
  public String getObjectName()   { return "Pocket Cube"; }
30
  public int getCategory()        { return CATEGORY_SHAPE_HEX | CATEGORY_AXIS_FACE; }
31
  }
(26-26/92)