| 54 | } |
| 55 | |
| 56 | bool FxEngine::setNextFx(int index, u16 duration) { |
| 57 | if (!mEffects.has(index)) { |
| 58 | return false; |
| 59 | } |
| 60 | mCurrId = index; |
| 61 | mDuration = duration; |
| 62 | mDurationSet = true; |
| 63 | return true; |
| 64 | } |
| 65 | |
| 66 | FxPtr FxEngine::removeFx(int index) { |
| 67 | if (!mEffects.has(index)) { |