Revision 9dacabea
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueue.java | ||
---|---|---|
333 | 333 |
return mNumEffects; |
334 | 334 |
} |
335 | 335 |
|
336 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
337 |
|
|
338 |
public Effect getEffect(int position) |
|
339 |
{ |
|
340 |
if( position>=0 && position< mNumEffects ) |
|
341 |
{ |
|
342 |
return mEffects[position]; |
|
343 |
} |
|
344 |
else |
|
345 |
{ |
|
346 |
android.util.Log.e("queue", "getEffect: out of range "+position); |
|
347 |
return null; |
|
348 |
} |
|
349 |
} |
|
350 |
|
|
336 | 351 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
337 | 352 |
|
338 | 353 |
public void doWork() |
Also available in: Unified diff
library: Fix DynamicQuat
cube app: progress with ScrambleEffects