Project

General

Profile

« Previous | Next » 

Revision e26eb4e7

Added by Leszek Koltunski over 2 years ago

Do not pull the inventors and the names of objects from Resources.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyDino6.java
24 24
import org.distorted.library.type.Static3D;
25 25
import org.distorted.library.type.Static4D;
26 26

  
27
import org.distorted.objectlib.R;
28 27
import org.distorted.objectlib.main.ObjectType;
29 28
import org.distorted.objectlib.helpers.ScrambleState;
30 29

  
......
99 98

  
100 99
///////////////////////////////////////////////////////////////////////////////////////////////////
101 100

  
102
  public int getObjectName(int[] numLayers)
101
  public String getObjectName()
103 102
    {
104
    return R.string.dino3;
103
    return "Dino Cube (6 color)";
105 104
    }
106 105

  
107 106
///////////////////////////////////////////////////////////////////////////////////////////////////
108 107

  
109
  public int getInventor(int[] numLayers)
108
  public String getInventor()
110 109
    {
111
    return R.string.dino3_inventor;
110
    return "Robert Webb";
112 111
    }
113 112

  
114 113
///////////////////////////////////////////////////////////////////////////////////////////////////
115 114

  
116
  public int getYearOfInvention(int[] numLayers)
115
  public int getYearOfInvention()
117 116
    {
118 117
    return 1985;
119 118
    }

Also available in: Unified diff