Revision ff60e713
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/objectlib/helpers/ObjectStickerOverride.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
public class ObjectStickerOverride |
23 | 23 |
{ |
24 |
private final int mCubit; |
|
25 |
private final int mFace; |
|
24 |
private final int[] mCubitFace; |
|
26 | 25 |
private final int mColor; |
27 | 26 |
|
28 | 27 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
29 | 28 |
|
30 |
public ObjectStickerOverride(int cubit, int face, int color)
|
|
29 |
public ObjectStickerOverride(int[] cubitface, int color)
|
|
31 | 30 |
{ |
32 |
mCubit = cubit; |
|
33 |
mFace = face; |
|
34 | 31 |
mColor = color; // ARGB |
32 |
mCubitFace = cubitface; |
|
35 | 33 |
} |
36 | 34 |
|
37 | 35 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
38 | 36 |
|
39 |
public int getCubit()
|
|
37 |
public int[] getCubitFaces()
|
|
40 | 38 |
{ |
41 |
return mCubit; |
|
42 |
} |
|
43 |
|
|
44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
45 |
|
|
46 |
public int getFace() |
|
47 |
{ |
|
48 |
return mFace; |
|
39 |
return mCubitFace; |
|
49 | 40 |
} |
50 | 41 |
|
51 | 42 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress with sticker overrides.