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/TwistyRex.java
514 514

  
515 515
///////////////////////////////////////////////////////////////////////////////////////////////////
516 516

  
517
  public int getObjectName(int[] numLayers)
517
  public String getObjectName()
518 518
    {
519
    return R.string.rex3;
519
    return "Rex Cube";
520 520
    }
521 521

  
522 522
///////////////////////////////////////////////////////////////////////////////////////////////////
523 523

  
524
  public int getInventor(int[] numLayers)
524
  public String getInventor()
525 525
    {
526
    return R.string.rex3_inventor;
526
    return "Andrew Cormier";
527 527
    }
528 528

  
529 529
///////////////////////////////////////////////////////////////////////////////////////////////////
530 530

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

  
536 536
///////////////////////////////////////////////////////////////////////////////////////////////////
537 537

  
538
  public int getComplexity(int[] numLayers)
538
  public int getComplexity()
539 539
    {
540 540
    return 3;
541 541
    }

Also available in: Unified diff