Example #1
0
    public void PlaySound(UserAction action)       // i believe atm, this is only used by network "tiny updates"
    {
        switch (action)
        {
        case UserAction.MoveUp:
            PlaySound(0.6f, Sfx.Get("Jump"));
            break;

        case UserAction.Next:
        case UserAction.Previous:
            PlaySound(0.6f, Sfx.Get("guncocked"));
            break;
        }
    }