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/TwistyDino4.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

  
......
102 101

  
103 102
///////////////////////////////////////////////////////////////////////////////////////////////////
104 103

  
105
  public int getObjectName(int[] numLayers)
104
  public String getObjectName()
106 105
    {
107
    return R.string.din43;
106
    return "Dino Cube (4 color)";
108 107
    }
109 108

  
110 109
///////////////////////////////////////////////////////////////////////////////////////////////////
111 110

  
112
  public int getInventor(int[] numLayers)
111
  public String getInventor()
113 112
    {
114
    return R.string.din43_inventor;
113
    return "Robert Webb";
115 114
    }
116 115

  
117 116
///////////////////////////////////////////////////////////////////////////////////////////////////
118 117

  
119
  public int getYearOfInvention(int[] numLayers)
118
  public int getYearOfInvention()
120 119
    {
121 120
    return 1985;
122 121
    }

Also available in: Unified diff