Exemple #1
0
	void HexagonGame::stopLevelMusic() { if(!getNoMusic()) if(musicData.getMusic() != nullptr) musicData.getMusic()->stop(); }
void HexagonGame::stopLevelMusic() {
    if(!getNoMusic()) if(musicPtr != nullptr) musicPtr->stop();
}
Exemple #3
0
	void HexagonGame::playLevelMusic() { if(!getNoMusic()) if(musicData.getMusic() != nullptr) musicData.playRandomSegment(); }
void HexagonGame::playLevelMusic() {
    if(!getNoMusic()) musicData.playRandomSegment(musicPtr);
}