Revision 61aa85e4
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySkewb.java | ||
---|---|---|
74 | 74 |
public TwistySkewb(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh, |
75 | 75 |
DistortedEffects effects, int[][] moves, Resources res, int scrWidth) |
76 | 76 |
{ |
77 |
super(size, 2*size-2, quat, texture, mesh, effects, moves, ObjectList.SKEW, res, scrWidth);
|
|
77 |
super(size, 2*size-2, quat, texture, mesh, effects, moves, res, scrWidth); |
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
595 | 595 |
return mBasicAngle; |
596 | 596 |
} |
597 | 597 |
|
598 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
599 |
|
|
600 |
public ObjectList intGetObjectList(int numLayers) |
|
601 |
{ |
|
602 |
switch(numLayers) |
|
603 |
{ |
|
604 |
case 2: return ObjectList.SKEW_2; |
|
605 |
case 3: return ObjectList.SKEW_3; |
|
606 |
} |
|
607 |
|
|
608 |
return ObjectList.SKEW_2; |
|
609 |
} |
|
610 |
|
|
598 | 611 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
599 | 612 |
|
600 | 613 |
public int getObjectName(int numLayers) |
Also available in: Unified diff
Simplify ObjectList: now there's just one object per size.