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/TwistyBandagedEvil.java
250 250

  
251 251
///////////////////////////////////////////////////////////////////////////////////////////////////
252 252

  
253
  public int getObjectName(int[] numLayers)
253
  public String getObjectName()
254 254
    {
255
    return R.string.bandaged_evil;
255
    return "Bandaged Cube B";
256 256
    }
257 257

  
258 258
///////////////////////////////////////////////////////////////////////////////////////////////////
259 259

  
260
  public int getInventor(int[] numLayers)
260
  public String getInventor()
261 261
    {
262
    return R.string.bandaged_evil_inventor;
262
    return "unknown";
263 263
    }
264 264

  
265 265
///////////////////////////////////////////////////////////////////////////////////////////////////
266 266

  
267
  public int getYearOfInvention(int[] numLayers)
267
  public int getYearOfInvention()
268 268
    {
269 269
    return 2000;
270 270
    }
271 271

  
272 272
///////////////////////////////////////////////////////////////////////////////////////////////////
273 273

  
274
  public int getComplexity(int[] numLayers)
274
  public int getComplexity()
275 275
    {
276 276
    return 8;
277 277
    }

Also available in: Unified diff