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

Method render

source/game/StarSongbook.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void Songbook::render(RenderCallback* renderCallback) {
156 for (auto& a : m_pendingAudio)
157 renderCallback->addAudio(a);
158 m_pendingAudio.clear();
159}
160
161void Songbook::keepAlive(String const& instrument, Vec2F const& position) {
162 if (instrument != m_instrument) {

Callers

nothing calls this directly

Calls 2

addAudioMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected