Revision 6c3a8db8
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueue.java | ||
---|---|---|
372 | 372 |
return false; |
373 | 373 |
} |
374 | 374 |
|
375 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
376 |
|
|
377 |
public boolean exists(long id) |
|
378 |
{ |
|
379 |
for(int i=0; i<mNumEffects; i++) |
|
380 |
{ |
|
381 |
if( mEffects[i].getID() == id ) return true; |
|
382 |
} |
|
383 |
|
|
384 |
return false; |
|
385 |
} |
|
386 |
|
|
375 | 387 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
376 | 388 |
|
377 | 389 |
public int getNumEffects() |
Also available in: Unified diff
Add a new API DistortedEffects.exists(long id)