public Ds3Component(LiveSplitState state) { _control = new Ds3Control(); _timeFormatter = new RegularTimeFormatter(TimeAccuracy.Hundredths); _infoTimeComponent = new InfoTimeComponent(ComponentName, TimeSpan.Zero, _timeFormatter); _infoTimeComponent = new InfoTimeComponent(ComponentName, TimeSpan.Zero, _timeFormatter); state.OnReset += delegate { _oldMillis = 0; }; state.OnStart += delegate { _oldMillis = 0; }; Pointer = new Ds3Pointer(); }
public Ds3Component(LiveSplitState state) { _control = new Ds3Control(); _timeFormatter = new RegularTimeFormatter(TimeAccuracy.Hundredths); _infoTimeComponent = new InfoTimeComponent(ComponentName, TimeSpan.Zero, _timeFormatter); _infoTimeComponent = new InfoTimeComponent(ComponentName, TimeSpan.Zero, _timeFormatter); state.OnReset += delegate { _oldMillis = 0; }; state.OnStart += delegate { state.IsGameTimePaused = true; _oldMillis = 0; }; Pointer = new Ds3Pointer(); _splitter = new Ds3AutoSplitter(state, _control.splitSettings); }