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(); }
public Control GetSettingsControl(LayoutMode mode) => _control ?? (_control = new SekiroControl());