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/TwistySquare2.java
396 396

  
397 397
///////////////////////////////////////////////////////////////////////////////////////////////////
398 398

  
399
  public int getObjectName(int[] numLayers)
399
  public String getObjectName()
400 400
    {
401
    return R.string.squa2;
401
    return "Square-2";
402 402
    }
403 403

  
404 404
///////////////////////////////////////////////////////////////////////////////////////////////////
405 405

  
406
  public int getInventor(int[] numLayers)
406
  public String getInventor()
407 407
    {
408
    return R.string.squa2_inventor;
408
    return "David Litwin";
409 409
    }
410 410

  
411 411
///////////////////////////////////////////////////////////////////////////////////////////////////
412 412

  
413
  public int getYearOfInvention(int[] numLayers)
413
  public int getYearOfInvention()
414 414
    {
415 415
    return 1995;
416 416
    }
417 417

  
418 418
///////////////////////////////////////////////////////////////////////////////////////////////////
419 419

  
420
  public int getComplexity(int[] numLayers)
420
  public int getComplexity()
421 421
    {
422 422
    return 7;
423 423
    }

Also available in: Unified diff