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

Method addParticles

source/game/StarPlayer.cpp:441–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void Player::addParticles(List<Particle> const& particles) {
442 m_callbackParticles.appendAll(particles);
443}
444
445void Player::addSound(String const& sound, float volume, float pitch) {
446 m_callbackSounds.emplaceAppend(sound, volume, pitch);

Callers 2

destroyMethod · 0.45
renderMethod · 0.45

Calls 1

appendAllMethod · 0.80

Tested by

no test coverage detected