Revision b1629e16
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
43 | 43 |
import org.distorted.dialogs.RubikDialogScores; |
44 | 44 |
import org.distorted.dialogs.RubikDialogTutorial; |
45 | 45 |
import org.distorted.helpers.TransparentImageButton; |
46 |
import org.distorted.objectlib.effects.BaseEffect; |
|
46 | 47 |
import org.distorted.objectlib.main.ObjectControl; |
47 | 48 |
import org.distorted.objects.RubikObject; |
48 | 49 |
import org.distorted.objects.RubikObjectList; |
... | ... | |
323 | 324 |
public void onClick(View v) |
324 | 325 |
{ |
325 | 326 |
mShouldReactToEndOfScrambling = false; |
326 |
act.getControl().fastScrambleObject(RubikObject.FAST_SCRAMBLES); |
|
327 |
int duration = BaseEffect.Type.FAST_SCRAMBLE.getDuration(); |
|
328 |
act.getControl().fastScrambleObject(duration,RubikObject.FAST_SCRAMBLES); |
|
327 | 329 |
} |
328 | 330 |
}); |
329 | 331 |
} |
Also available in: Unified diff
Make it possible to decide about FastScramble duration fromo outside the ObjectControl.