| 123 | schedule(AX_SCHEDULE_SELECTOR(DemoPause::pauseEmitter), 2.0f); |
| 124 | } |
| 125 | void DemoPause::pauseEmitter(float time) |
| 126 | { |
| 127 | if (_emitter->isPaused()) |
| 128 | { |
| 129 | _emitter->resumeEmissions(); |
| 130 | } |
| 131 | else |
| 132 | { |
| 133 | _emitter->pauseEmissions(); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | std::string DemoPause::subtitle() const |
| 138 | { |
nothing calls this directly
no test coverage detected