Пример #1
0
    public void Respiration()
    {
        inRespiration = true;

        if (isBreathableEnvironement)//Si je suis dans une zone d'oxygen
        {
            IncreaseOxygen();
            playerSounds.PlayOneShotGoodInspiration();
        }
        else
        {
            DecreaseLife();
        }
    }