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/TwistyJing.java
468 468

  
469 469
///////////////////////////////////////////////////////////////////////////////////////////////////
470 470

  
471
  public int getObjectName(int[] numLayers)
471
  public String getObjectName()
472 472
    {
473
    return R.string.jing;
473
    return "Jing Pyraminx";
474 474
    }
475 475

  
476 476
///////////////////////////////////////////////////////////////////////////////////////////////////
477 477

  
478
  public int getInventor(int[] numLayers)
478
  public String getInventor()
479 479
    {
480
    return R.string.jing_inventor;
480
    return "Tony Fisher";
481 481
    }
482 482

  
483 483
///////////////////////////////////////////////////////////////////////////////////////////////////
484 484

  
485
  public int getYearOfInvention(int[] numLayers)
485
  public int getYearOfInvention()
486 486
    {
487 487
    return 1991;
488 488
    }
489 489

  
490 490
///////////////////////////////////////////////////////////////////////////////////////////////////
491 491

  
492
  public int getComplexity(int[] numLayers)
492
  public int getComplexity()
493 493
    {
494 494
    return 4;
495 495
    }

Also available in: Unified diff