MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / fadeIn

Method fadeIn

source/sound/MusicPlayer.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void ODMusic::fadeIn()
78{
79 if (mMusicState == UNLOADED)
80 return;
81
82 if (mMusicState != STOPPED && mMusicState != FADE_OUT)
83 return;
84
85 mMusic.play();
86 mMusicState = FADE_IN;
87}
88
89void ODMusic::fadeOut()
90{

Callers 1

playMethod · 0.80

Calls 1

playMethod · 0.45

Tested by

no test coverage detected