| 80 | { |
| 81 | public: |
| 82 | static EffectSprite* create(std::string_view filename) |
| 83 | { |
| 84 | auto ret = new EffectSprite; |
| 85 | if (ret->initWithFile(filename)) |
| 86 | { |
| 87 | ret->autorelease(); |
| 88 | return ret; |
| 89 | } |
| 90 | AX_SAFE_RELEASE(ret); |
| 91 | return nullptr; |
| 92 | } |
| 93 | |
| 94 | void setEffect(Effect* effect) |
| 95 | { |
nothing calls this directly
no test coverage detected