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/TwistyIvy.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;
......
397 398
    {
398 399
    return "";
399 400
    }
401

  
402
///////////////////////////////////////////////////////////////////////////////////////////////////
403

  
404
  public int getObjectName(int numLayers)
405
    {
406
    return R.string.ivy2;
407
    }
408

  
409
///////////////////////////////////////////////////////////////////////////////////////////////////
410

  
411
  public int getInventor(int numLayers)
412
    {
413
    return R.string.ivy2_inventor;
414
    }
415

  
416
///////////////////////////////////////////////////////////////////////////////////////////////////
417

  
418
  public int getComplexity(int numLayers)
419
    {
420
    return 1;
421
    }
400 422
}

Also available in: Unified diff