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/TwistyRedi.java
477 477

  
478 478
///////////////////////////////////////////////////////////////////////////////////////////////////
479 479

  
480
  public int getObjectName(int[] numLayers)
480
  public String getObjectName()
481 481
    {
482
    return R.string.redi2;
482
    return "Redi Cube";
483 483
    }
484 484

  
485 485
///////////////////////////////////////////////////////////////////////////////////////////////////
486 486

  
487
  public int getInventor(int[] numLayers)
487
  public String getInventor()
488 488
    {
489
    return R.string.redi2_inventor;
489
    return "Oskar van Deventer";
490 490
    }
491 491

  
492 492
///////////////////////////////////////////////////////////////////////////////////////////////////
493 493

  
494
  public int getYearOfInvention(int[] numLayers)
494
  public int getYearOfInvention()
495 495
    {
496 496
    return 2009;
497 497
    }
498 498

  
499 499
///////////////////////////////////////////////////////////////////////////////////////////////////
500 500

  
501
  public int getComplexity(int[] numLayers)
501
  public int getComplexity()
502 502
    {
503 503
    return 4;
504 504
    }

Also available in: Unified diff