Revision 722b2512
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyPyraminx.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 |
|
... | ... | |
326 | 325 |
|
327 | 326 |
for(int i=1; i<NUM_CUBITS; i++) |
328 | 327 |
{ |
329 |
if( !thereIsNoVisibleDifference(CUBITS[i], index) ) return false;
|
|
328 |
if( thereIsVisibleDifference(CUBITS[i], index) ) return false;
|
|
330 | 329 |
} |
331 | 330 |
|
332 | 331 |
return true; |
Also available in: Unified diff
Simplifications.