Permalink
Browse files

Added click sound effects to level selection screen

  • Loading branch information...
Kwarf committed Aug 25, 2014
1 parent 5da7fb4 commit 0bc1ca9fb21954e7bf4310b2054ca55ae0884c6d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/states/MapSelectionState.cpp
@@ -183,6 +183,7 @@ void MapSelectionState::onMouseButtonDown(SDL_MouseButtonEvent event)
if (m_itemUnderCursor)
{
activate();
SoundHandler::play(SoundHandler::Sound::Click);
}
break;
@@ -262,6 +263,7 @@ void MapSelectionState::onMouseWheel(SDL_MouseWheelEvent event)
SoundHandler::setSoundVolume(soundVolume * 1.28f);
SoundHandler::setMusicVolume(musicVolume * 1.28f);
SoundHandler::play(SoundHandler::Sound::Click);
}
void MapSelectionState::onControllerButtonDown(SDL_ControllerButtonEvent event)

0 comments on commit 0bc1ca9

Please sign in to comment.