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/TwistySquare1.java
370 370

  
371 371
///////////////////////////////////////////////////////////////////////////////////////////////////
372 372

  
373
  public int getObjectName(int[] numLayers)
373
  public String getObjectName()
374 374
    {
375
    return R.string.squa1;
375
    return "Square-1";
376 376
    }
377 377

  
378 378
///////////////////////////////////////////////////////////////////////////////////////////////////
379 379

  
380
  public int getInventor(int[] numLayers)
380
  public String getInventor()
381 381
    {
382
    return R.string.squa1_inventor;
382
    return "Vojtech Kopsky, Karel Hrsel";
383 383
    }
384 384

  
385 385
///////////////////////////////////////////////////////////////////////////////////////////////////
386 386

  
387
  public int getYearOfInvention(int[] numLayers)
387
  public int getYearOfInvention()
388 388
    {
389 389
    return 1999;
390 390
    }
391 391

  
392 392
///////////////////////////////////////////////////////////////////////////////////////////////////
393 393

  
394
  public int getComplexity(int[] numLayers)
394
  public int getComplexity()
395 395
    {
396 396
    return 9;
397 397
    }

Also available in: Unified diff