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

Method completed

source/frontend/StarCinematic.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool Cinematic::completed() const {
115 for (size_t i = 0; i < m_audioCues.size(); ++i) {
116 if (m_activeAudio[i] && !m_activeAudio[i]->finished())
117 return false;
118 }
119
120 return m_timer.time() >= m_completionTime;
121}
122
123bool Cinematic::completable() const {
124 return m_completable;

Callers 3

updateSplashMethod · 0.80
updateMethod · 0.80
renderCursorMethod · 0.80

Calls 3

sizeMethod · 0.45
finishedMethod · 0.45
timeMethod · 0.45

Tested by

no test coverage detected