Revision a57e6870
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyBandaged3Plate.java | ||
---|---|---|
35 | 35 |
|
36 | 36 |
public class TwistyBandaged3Plate extends TwistyBandagedAbstract |
37 | 37 |
{ |
38 |
public TwistyBandaged3Plate(int size, Static4D quat, Static3D move, DistortedTexture texture,
|
|
38 |
public TwistyBandaged3Plate(int[] numL, Static4D quat, Static3D move, DistortedTexture texture,
|
|
39 | 39 |
MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth) |
40 | 40 |
{ |
41 |
super(size, quat, move, texture, mesh, effects, res, scrWidth);
|
|
41 |
super(numL, quat, move, texture, mesh, effects, res, scrWidth);
|
|
42 | 42 |
} |
43 | 43 |
|
44 | 44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
73 | 73 |
|
74 | 74 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
75 | 75 |
|
76 |
protected int getResource(int numLayers) |
|
76 |
protected int getResource(int[] numLayers)
|
|
77 | 77 |
{ |
78 | 78 |
return R.raw.ban3; |
79 | 79 |
} |
... | ... | |
123 | 123 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
124 | 124 |
// PUBLIC API |
125 | 125 |
|
126 |
public ObjectType intGetObjectType(int numLayers) |
|
126 |
public ObjectType intGetObjectType(int[] numLayers)
|
|
127 | 127 |
{ |
128 | 128 |
return ObjectType.BAN3_3; |
129 | 129 |
} |
130 | 130 |
|
131 | 131 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
132 | 132 |
|
133 |
public int getObjectName(int numLayers) |
|
133 |
public int getObjectName(int[] numLayers)
|
|
134 | 134 |
{ |
135 | 135 |
return R.string.bandaged_3plate; |
136 | 136 |
} |
137 | 137 |
|
138 | 138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
139 | 139 |
|
140 |
public int getInventor(int numLayers) |
|
140 |
public int getInventor(int[] numLayers)
|
|
141 | 141 |
{ |
142 | 142 |
return R.string.bandaged_3plate_inventor; |
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
146 | 146 |
|
147 |
public int getComplexity(int numLayers) |
|
147 |
public int getComplexity(int[] numLayers)
|
|
148 | 148 |
{ |
149 | 149 |
return 8; |
150 | 150 |
} |
Also available in: Unified diff
make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!