Revision 3543a3cf
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
public class DistortedEffects |
34 | 34 |
{ |
35 |
private static long mNextID =0; |
|
36 | 35 |
private long mID; |
37 | 36 |
private EffectQueue[] mQueues; |
38 | 37 |
|
... | ... | |
53 | 52 |
*/ |
54 | 53 |
public DistortedEffects() |
55 | 54 |
{ |
56 |
mID = ++mNextID;
|
|
55 |
mID = InternalStackFrameList.getNextEffectsID();
|
|
57 | 56 |
mQueues = new EffectQueue[EffectType.LENGTH]; |
58 | 57 |
EffectQueue.allocateQueues(mQueues,null,0); |
59 | 58 |
} |
... | ... | |
70 | 69 |
*/ |
71 | 70 |
public DistortedEffects(DistortedEffects dc, int flags) |
72 | 71 |
{ |
73 |
mID = ++mNextID;
|
|
72 |
mID = InternalStackFrameList.getNextEffectsID();
|
|
74 | 73 |
mQueues = new EffectQueue[EffectType.LENGTH]; |
75 | 74 |
EffectQueue.allocateQueues(mQueues,dc.getQueues(),flags); |
76 | 75 |
} |
Also available in: Unified diff
Put new things to the StackFrame.