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

Method addEffectSources

source/game/StarEffectEmitter.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void EffectEmitter::addEffectSources(String const& position, StringSet effectSources) {
17 for (auto& e : effectSources)
18 m_newSources.add({position, std::move(e)});
19}
20
21void EffectEmitter::setSourcePosition(String name, Vec2F const& position) {
22 m_positions[std::move(name)] = position;

Callers 6

updateMethod · 0.80
addEffectEmittersMethod · 0.80
effectsMethod · 0.80
updateMethod · 0.80
addEffectEmittersMethod · 0.80
effectsMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected