Project

General

Profile

« Previous | Next » 

Revision 6fd4a72c

Added by Leszek Koltunski over 3 years ago

Preparation for the Object Info popup: add the name, inventor, complexity info to each object.

View differences:

src/main/java/org/distorted/objects/TwistyRedi.java
30 30
import org.distorted.library.mesh.MeshSquare;
31 31
import org.distorted.library.type.Static3D;
32 32
import org.distorted.library.type.Static4D;
33
import org.distorted.main.R;
33 34
import org.distorted.main.RubikSurfaceView;
34 35

  
35 36
import java.util.Random;
......
430 431
    {
431 432
    return "";
432 433
    }
434

  
435
///////////////////////////////////////////////////////////////////////////////////////////////////
436

  
437
  public int getObjectName(int numLayers)
438
    {
439
    return R.string.redi2;
440
    }
441

  
442
///////////////////////////////////////////////////////////////////////////////////////////////////
443

  
444
  public int getInventor(int numLayers)
445
    {
446
    return R.string.redi2_inventor;
447
    }
448

  
449
///////////////////////////////////////////////////////////////////////////////////////////////////
450

  
451
  public int getComplexity(int numLayers)
452
    {
453
    return 4;
454
    }
433 455
}

Also available in: Unified diff