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/TwistyIvy.java
515 515

  
516 516
///////////////////////////////////////////////////////////////////////////////////////////////////
517 517

  
518
  public int getObjectName(int[] numLayers)
518
  public String getObjectName()
519 519
    {
520
    return R.string.ivy2;
520
    return "Ivy Cube";
521 521
    }
522 522

  
523 523
///////////////////////////////////////////////////////////////////////////////////////////////////
524 524

  
525
  public int getInventor(int[] numLayers)
525
  public String getInventor()
526 526
    {
527
    return R.string.ivy2_inventor;
527
    return "Eitan Cher";
528 528
    }
529 529

  
530 530
///////////////////////////////////////////////////////////////////////////////////////////////////
531 531

  
532
  public int getYearOfInvention(int[] numLayers)
532
  public int getYearOfInvention()
533 533
    {
534 534
    return 2009;
535 535
    }
536 536

  
537 537
///////////////////////////////////////////////////////////////////////////////////////////////////
538 538

  
539
  public int getComplexity(int[] numLayers)
539
  public int getComplexity()
540 540
    {
541 541
    return 1;
542 542
    }

Also available in: Unified diff