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

Method resetState

source/frontend/StarTitleScreen.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void TitleScreen::resetState() {
164 switchState(TitleState::Main);
165 if (m_currentMusicTrack)
166 m_currentMusicTrack->setVolume(1.0f, 4.0f);
167}
168
169void TitleScreen::goToMultiPlayerSelectCharacter(bool skipConnection) {
170 m_skipMultiPlayerConnection = skipConnection;

Callers 2

changeStateMethod · 0.80
setErrorMethod · 0.80

Calls 1

setVolumeMethod · 0.45

Tested by

no test coverage detected