| 85 | } |
| 86 | |
| 87 | FxPtr FxEngine::getFx(int id) { |
| 88 | if (mEffects.has(id)) { |
| 89 | FxPtr fx; |
| 90 | mEffects.get(id, &fx); |
| 91 | return fx; |
| 92 | } |
| 93 | return FxPtr(); |
| 94 | } |
| 95 | |
| 96 | bool FxEngine::draw(fl::u32 now, fl::span<CRGB> finalBuffer) { |
| 97 | mTimeFunction.update(now); |