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/TwistyBandaged3Plate.java
126 126

  
127 127
///////////////////////////////////////////////////////////////////////////////////////////////////
128 128

  
129
  public int getObjectName(int[] numLayers)
129
  public String getObjectName()
130 130
    {
131
    return R.string.bandaged_3plate;
131
    return "Bandaged Cube C";
132 132
    }
133 133

  
134 134
///////////////////////////////////////////////////////////////////////////////////////////////////
135 135

  
136
  public int getInventor(int[] numLayers)
136
  public String getInventor()
137 137
    {
138
    return R.string.bandaged_3plate_inventor;
138
    return "unknown";
139 139
    }
140 140

  
141 141
///////////////////////////////////////////////////////////////////////////////////////////////////
142 142

  
143
  public int getYearOfInvention(int[] numLayers)
143
  public int getYearOfInvention()
144 144
    {
145 145
    return 2000;
146 146
    }
147 147

  
148 148
///////////////////////////////////////////////////////////////////////////////////////////////////
149 149

  
150
  public int getComplexity(int[] numLayers)
150
  public int getComplexity()
151 151
    {
152 152
    return 8;
153 153
    }

Also available in: Unified diff