Revision 61aa85e4
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySquare2.java | ||
---|---|---|
50 | 50 |
public TwistySquare2(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh, |
51 | 51 |
DistortedEffects effects, int[][] moves, Resources res, int scrWidth) |
52 | 52 |
{ |
53 |
super(size, quat, texture, mesh, effects, moves, ObjectList.SQU2, res, scrWidth);
|
|
53 |
super(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
54 | 54 |
} |
55 | 55 |
|
56 | 56 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
383 | 383 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
384 | 384 |
// PUBLIC API |
385 | 385 |
|
386 |
public ObjectList intGetObjectList(int numLayers) |
|
387 |
{ |
|
388 |
return ObjectList.SQU2_3; |
|
389 |
} |
|
390 |
|
|
391 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
392 |
|
|
386 | 393 |
public int getObjectName(int numLayers) |
387 | 394 |
{ |
388 | 395 |
return R.string.squa2; |
Also available in: Unified diff
Simplify ObjectList: now there's just one object per size.