Revision de131f0a
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/purchase/PurchaseRenderer.java | ||
---|---|---|
27 | 27 |
public class PurchaseRenderer implements GLSurfaceView.Renderer, DistortedLibrary.ExceptionListener |
28 | 28 |
{ |
29 | 29 |
private static final int NUM_SCRAMBLES = 5; |
30 |
private static final int DURATION = NUM_SCRAMBLES*2*2500; |
|
30 | 31 |
|
31 | 32 |
private final PurchaseSurfaceView mView; |
32 | 33 |
private final DistortedScreen mScreen; |
... | ... | |
57 | 58 |
if( mFirstRender ) |
58 | 59 |
{ |
59 | 60 |
mFirstRender=false; |
60 |
mView.getObjectControl().presentObject(NUM_SCRAMBLES); |
|
61 |
mView.getObjectControl().presentObject(NUM_SCRAMBLES, DURATION);
|
|
61 | 62 |
} |
62 | 63 |
} |
63 | 64 |
|
Also available in: Unified diff
IAP part 6: new 'Present' object effect (cont'd)