Revision 722b2512
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyCube.java | ||
---|---|---|
30 | 30 |
import org.distorted.library.type.Static3D; |
31 | 31 |
import org.distorted.library.type.Static4D; |
32 | 32 |
import org.distorted.main.R; |
33 |
import org.distorted.main.RubikSurfaceView; |
|
34 | 33 |
|
35 | 34 |
import java.util.Random; |
36 | 35 |
|
... | ... | |
294 | 293 |
|
295 | 294 |
for(int i=1; i<NUM_CUBITS; i++) |
296 | 295 |
{ |
297 |
if( !thereIsNoVisibleDifference(CUBITS[i], index) ) return false;
|
|
296 |
if( thereIsVisibleDifference(CUBITS[i], index) ) return false;
|
|
298 | 297 |
} |
299 | 298 |
|
300 | 299 |
return true; |
Also available in: Unified diff
Simplifications.