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

Method keepAlive

source/game/StarSongbook.cpp:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void Songbook::keepAlive(String const& instrument, Vec2F const& position) {
162 if (instrument != m_instrument) {
163 m_instrument = instrument;
164 m_dataUpdated = true;
165 }
166 m_position = position;
167 if (active())
168 m_activeCooldown = 3;
169}
170
171List<Songbook::Note> Songbook::parseABC(String const& abc) {
172 List<Songbook::Note> result;

Callers 3

entityKeepAliveMethod · 0.45
instrumentEquippedMethod · 0.45
instrumentEquippedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected