Revision 30094332
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/main/InternalStackFrameList.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.library.main; |
21 | 21 |
|
22 |
import org.distorted.library.message.EffectMessageSender; |
|
23 |
|
|
22 | 24 |
import java.util.ArrayList; |
23 | 25 |
|
24 | 26 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
124 | 126 |
break; |
125 | 127 |
} |
126 | 128 |
} |
129 |
|
|
130 |
setInitialized(false); |
|
131 |
|
|
132 |
if( num<2 ) |
|
133 |
{ |
|
134 |
EffectMessageSender.stopSending(); |
|
135 |
} |
|
127 | 136 |
} |
128 | 137 |
|
129 | 138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
207 | 216 |
return mCurrentFrame.isInitialized(); |
208 | 217 |
} |
209 | 218 |
|
219 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
220 |
|
|
221 |
public static int getMax(int index) |
|
222 |
{ |
|
223 |
return mCurrentFrame.getMax(index); |
|
224 |
} |
|
225 |
|
|
226 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
227 |
|
|
228 |
public static boolean setMax(int index,int max) |
|
229 |
{ |
|
230 |
return mCurrentFrame.setMax(index,max); |
|
231 |
} |
|
210 | 232 |
} |
Also available in: Unified diff
More support for using the library from more than one activity. Should be working now!