| 219 | } |
| 220 | |
| 221 | void onStart() override |
| 222 | { |
| 223 | // We set the listener position back to the default |
| 224 | // so that the music is right on top of the listener |
| 225 | sf::Listener::setPosition({0.f, 0.f, 0.f}); |
| 226 | |
| 227 | m_music.play(); |
| 228 | } |
| 229 | |
| 230 | void onStop() override |
| 231 | { |
nothing calls this directly
no test coverage detected