Revision 337f4660
Added by Leszek Koltunski 8 months ago
src/main/java/org/distorted/objects/RubikObject.java | ||
---|---|---|
31 | 31 |
import org.distorted.objectlib.patterns.RubikPatternList; |
32 | 32 |
import org.distorted.solvers.ImplementedSolversList; |
33 | 33 |
|
34 |
import static org.distorted.objectlib.main.TwistyObject.MESH_NICE; |
|
35 | 34 |
import static org.distorted.main_old.RubikActivity.SHOW_DOWNLOADED_DEBUG; |
36 | 35 |
|
37 | 36 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
49 | 48 |
private int mJsonID, mMeshID, mExtrasID; |
50 | 49 |
private int mObjectVersion, mExtrasVersion; |
51 | 50 |
private int mNumScramble; |
52 |
private int mMeshState; |
|
53 | 51 |
private int mExtrasOrdinal; |
54 | 52 |
private int mSolverOrdinal; |
55 | 53 |
|
... | ... | |
73 | 71 |
mPatterns = RubikPatternList.getPatterns(patternOrdinal); |
74 | 72 |
|
75 | 73 |
mSolverOrdinal = ImplementedSolversList.getSolverOrdinal(ordinal); |
76 |
|
|
77 |
mMeshState = MESH_NICE; |
|
78 | 74 |
mExtrasOrdinal = -1; |
79 | 75 |
|
80 | 76 |
mObjectVersion = ObjectType.getObjectVersion(ordinal); |
... | ... | |
96 | 92 |
mExtrasVersion = object.extrasVersion; |
97 | 93 |
|
98 | 94 |
mPatterns = null; |
99 |
mMeshState = MESH_NICE; |
|
100 | 95 |
mExtrasOrdinal = -1; |
101 | 96 |
mSolverOrdinal = -1; |
102 | 97 |
|
... | ... | |
166 | 161 |
return mExtrasOrdinal; |
167 | 162 |
} |
168 | 163 |
|
169 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
170 |
|
|
171 |
public void setMeshState(int state) |
|
172 |
{ |
|
173 |
mMeshState = state; |
|
174 |
} |
|
175 |
|
|
176 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
177 |
|
|
178 |
public int getMeshState() |
|
179 |
{ |
|
180 |
return mMeshState; |
|
181 |
} |
|
182 |
|
|
183 | 164 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
184 | 165 |
// PUBLIC API |
185 | 166 |
|
Also available in: Unified diff
remove 'MESH_NICE'