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/TwistyDino6.java
25 25
import org.distorted.library.main.DistortedTexture;
26 26
import org.distorted.library.mesh.MeshSquare;
27 27
import org.distorted.library.type.Static4D;
28
import org.distorted.main.R;
28 29

  
29 30
import java.util.Random;
30 31

  
......
105 106

  
106 107
    return ( qX==qY && qX==qZ ) || ( qY==mulQuat(qX,2) && qZ==mulQuat(qX,8) );
107 108
    }
109

  
110
///////////////////////////////////////////////////////////////////////////////////////////////////
111

  
112
  public int getObjectName(int numLayers)
113
    {
114
    return R.string.dino3;
115
    }
116

  
117
///////////////////////////////////////////////////////////////////////////////////////////////////
118

  
119
  public int getInventor(int numLayers)
120
    {
121
    return R.string.dino3_inventor;
122
    }
108 123
}

Also available in: Unified diff