Revision 43814a57
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/effect/Effect.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
21 | 21 |
|
22 |
import org.distorted.library.effectqueue.EffectQueue; |
|
22 | 23 |
import org.distorted.library.message.EffectListener; |
23 | 24 |
|
24 | 25 |
import java.lang.reflect.Method; |
... | ... | |
58 | 59 |
for(int i=0; i<NUM_EFFECTS; i++) mEnabled[i] = false; |
59 | 60 |
} |
60 | 61 |
|
62 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
63 |
|
|
64 |
public abstract void addQueue(EffectQueue queue); |
|
65 |
public abstract void remQueue(EffectQueue queue); |
|
66 |
|
|
61 | 67 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
62 | 68 |
|
63 | 69 |
Effect(EffectName name) |
Also available in: Unified diff
Fix the fact that the static DistortedEffects.mAllQueues was global, shared between all Activities.
Completely replace this mechanism with a non-static list of links from a VertexEffect to all VertexEffectQueues this effect is a member of.