public LoadTimer(LiveSplitState state) { Formatter = new PossibleTimeSaveFormatter(); InternalComponent = new InfoTimeComponent(null, null, Formatter); Cache = new GraphicsCache(); Settings = new AlternateTimingMethodSettings() { CurrentState = state }; }
public PreviousSegment(LiveSplitState state) { DeltaFormatter = new DeltaTimeFormatter(); TimeSaveFormatter = new PossibleTimeSaveFormatter(); Settings = new PreviousSegmentSettings() { CurrentState = state }; InternalComponent = new InfoTimeComponent(null, null, DeltaFormatter); state.ComparisonRenamed += state_ComparisonRenamed; }