Exemplo n.º 1
0
Arquivo: Bomb.cs Projeto: Raful/CSBomb
 private void HandleFuseDone()
 {
     if (m_buttonPressedTimer >= m_fuseTimer)
     {
         SoundHandler.PlayPlantedSound();
         GameData.gameState = GameData.GameState.Planted;
         InputListener.InterruptMainButton();
     }
 }
Exemplo n.º 2
0
Arquivo: Bomb.cs Projeto: Raful/CSBomb
 private void OnStateChanged(GameData.GameState newState)
 {
     InputListener.InterruptMainButton();
     m_buttonPressedTimer = 0;
 }