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

Method hasEffect

source/base/StarMixer.cpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool Mixer::hasEffect(String const& effectName) {
205 MutexLocker locker(m_effectsMutex);
206 return m_effects.contains(effectName);
207}
208
209void Mixer::setSpeed(float speed) {
210 m_speed = speed;

Callers 1

updateMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected