Revision 809dcae3
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
import org.distorted.library.effect.Effect; |
23 | 23 |
import org.distorted.library.effect.EffectName; |
24 |
import org.distorted.library.effectqueue.EffectQueue; |
|
24 | 25 |
import org.distorted.library.effect.EffectType; |
25 | 26 |
import org.distorted.library.message.EffectListener; |
26 | 27 |
|
... | ... | |
37 | 38 |
private EffectQueue[] mQueues; |
38 | 39 |
|
39 | 40 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
40 |
|
|
41 |
EffectQueue[] getQueues() |
|
41 |
/** |
|
42 |
* @y.exclude |
|
43 |
*/ |
|
44 |
public EffectQueue[] getQueues() |
|
42 | 45 |
{ |
43 | 46 |
return mQueues; |
44 | 47 |
} |
... | ... | |
98 | 101 |
* |
99 | 102 |
* @param el A class implementing the EffectListener interface that wants to get notifications. |
100 | 103 |
*/ |
101 |
@SuppressWarnings("unused") |
|
102 | 104 |
public void registerForMessages(EffectListener el) |
103 | 105 |
{ |
104 | 106 |
for( int i=0; i<EffectType.LENGTH; i++) |
... | ... | |
113 | 115 |
* |
114 | 116 |
* @param el A class implementing the EffectListener interface that no longer wants to get notifications. |
115 | 117 |
*/ |
116 |
@SuppressWarnings("unused") |
|
117 | 118 |
public void deregisterForMessages(EffectListener el) |
118 | 119 |
{ |
119 | 120 |
for( int i=0; i<EffectType.LENGTH; i++) |
Also available in: Unified diff
Finally move the EffectQueues to their own package.