Revision 6c3a8db8
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
85 | 85 |
return mID; |
86 | 86 |
} |
87 | 87 |
|
88 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
89 |
/** |
|
90 |
* Return if this queue contains effect with a given ID. |
|
91 |
*/ |
|
92 |
public boolean exists(long id) |
|
93 |
{ |
|
94 |
int num = (int)(id&EffectType.MASK); |
|
95 |
return mQueues[num].exists(id); |
|
96 |
} |
|
97 |
|
|
88 | 98 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
89 | 99 |
/** |
90 | 100 |
* Aborts all Effects. |
Also available in: Unified diff
Add a new API DistortedEffects.exists(long id)