| 397 | } |
| 398 | |
| 399 | void onStart() override |
| 400 | { |
| 401 | // We set the listener position back to the default |
| 402 | // so that the tone is right on top of the listener |
| 403 | sf::Listener::setPosition({0.f, 0.f, 0.f}); |
| 404 | |
| 405 | play(); |
| 406 | } |
| 407 | |
| 408 | void onStop() override |
| 409 | { |
nothing calls this directly
no test coverage detected