Пример #1
0
        public SoundComponent(LiveSplitState state)
        {
            Activated = true;

            State    = state;
            Settings = new SoundSettings();
            Player   = new WaveOut();

            State.OnStart     += State_OnStart;
            State.OnSplit     += State_OnSplit;
            State.OnSkipSplit += State_OnSkipSplit;
            State.OnUndoSplit += State_OnUndoSplit;
            State.OnPause     += State_OnPause;
            State.OnResume    += State_OnResume;
            State.OnReset     += State_OnReset;
        }
Пример #2
0
        public SoundComponent(LiveSplitState state)
        {
            Activated = true;

            State = state;
            Settings = new SoundSettings();
            Player = new WaveOut();

            State.OnStart += State_OnStart;
            State.OnSplit += State_OnSplit;
            State.OnSkipSplit += State_OnSkipSplit;
            State.OnUndoSplit += State_OnUndoSplit;
            State.OnPause += State_OnPause;
            State.OnResume += State_OnResume;
            State.OnReset += State_OnReset;
        }