Revision f7f24f23
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/control/RubikControl.java | ||
---|---|---|
38 | 38 |
|
39 | 39 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
40 | 40 |
|
41 |
private DistortedScreen getScreen()
|
|
41 |
DistortedScreen getScreen() |
|
42 | 42 |
{ |
43 | 43 |
RubikActivity act = mRefAct.get(); |
44 | 44 |
return act!=null ? act.getScreen() : null; |
... | ... | |
139 | 139 |
|
140 | 140 |
public void effectFinished(long effectID) |
141 | 141 |
{ |
142 |
if( effectID==mWhole.getEffectID() ) |
|
143 |
{ |
|
144 |
android.util.Log.e("D", "whole finished"); |
|
145 |
finishWhole(); |
|
146 |
} |
|
147 |
if( effectID==mRotate.getEffectID() ) |
|
148 |
{ |
|
149 |
android.util.Log.e("D", "rotate finished"); |
|
150 |
finishRotate(); |
|
151 |
} |
|
142 |
if( effectID==mWhole.getEffectID() ) finishWhole(); |
|
143 |
if( effectID==mRotate.getEffectID() ) finishRotate(); |
|
152 | 144 |
} |
153 | 145 |
|
154 | 146 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress with RubikControl.