MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / stopAudio

Method stopAudio

source/game/StarNetworkedAnimator.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void NetworkedAnimator::DynamicTarget::stopAudio() {
36 for (auto const& pair : currentAudioBasePositions) {
37 if (pair.first->loops() != 0)
38 pair.first->stop();
39 }
40}
41
42void NetworkedAnimator::DynamicTarget::updatePosition(Vec2F const& p) {
43 clearFinishedAudio();

Callers 2

setVisibleMethod · 0.80
uninitMethod · 0.80

Calls 2

loopsMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected