Exemple #1
0
        public SekiroComponent(LiveSplitState state)
        {
            _control           = new SekiroControl();
            _timeFormatter     = new RegularTimeFormatter(TimeAccuracy.Hundredths);
            _infoTimeComponent = new InfoTimeComponent(ComponentName, TimeSpan.Zero, _timeFormatter);

            state.OnReset += delegate { _oldMillis = 0; };
            state.OnReset += delegate { _oldMillis = 0; };

            _pointer = new SekiroPointer();
        }
Exemple #2
0
 public Control GetSettingsControl(LayoutMode mode) => _control ?? (_control = new SekiroControl());