public TotalPlaytimeComponent(LiveSplitState state) { TimeFormatter = new RegularTimeFormatter(TimeAccuracy.Seconds); InternalComponent = new InfoTimeComponent("Total Playtime", TimeSpan.Zero, TimeFormatter); Settings = new TotalPlaytimeSettings() { CurrentState = state }; }
public DeltaComponent(LiveSplitState state) { Settings = new DeltaSettings() { CurrentState = state }; Formatter = new DeltaComponentFormatter(Settings.Accuracy, Settings.DropDecimals); InternalComponent = new InfoTimeComponent(null, null, Formatter); state.ComparisonRenamed += state_ComparisonRenamed; }
public TotalPlaytimeComponent(LiveSplitState state) { HoursTimeFormatter = new RegularTimeFormatter(); DaysTimeFormatter = new DaysTimeFormatter(); InternalComponent = new InfoTimeComponent("Total Playtime", TimeSpan.Zero, DaysTimeFormatter); Settings = new TotalPlaytimeSettings() { CurrentState = state }; }
public RunPrediction(LiveSplitState state) { Settings = new RunPredictionSettings() { CurrentState = state }; Formatter = new RunPredictionFormatter(Settings.Accuracy); InternalComponent = new InfoTimeComponent(null, null, Formatter); state.ComparisonRenamed += state_ComparisonRenamed; }
public LoadTimer(LiveSplitState state) { Formatter = new PossibleTimeSaveFormatter(); InternalComponent = new InfoTimeComponent(null, null, Formatter); Cache = new GraphicsCache(); Settings = new AlternateTimingMethodSettings() { CurrentState = state }; }
public PossibleTimeSave(LiveSplitState state) { Formatter = new PossibleTimeSaveFormatter(); InternalComponent = new InfoTimeComponent(null, null, Formatter); Settings = new PossibleTimeSaveSettings() { CurrentState = state }; state.ComparisonRenamed += state_ComparisonRenamed; }
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; }
public SumOfBestComponent(LiveSplitState state) { Formatter = new RegularSumOfBestTimeFormatter(); InternalComponent = new InfoTimeComponent("Sum of Best Segments", null, Formatter) { AlternateNameText = new String[] { "Sum of Best", "SoB" } }; Settings = new SumOfBestSettings(); state.OnSplit += state_OnSplit; state.OnUndoSplit += state_OnUndoSplit; state.OnReset += state_OnReset; CurrentState = state; CurrentState.RunManuallyModified += CurrentState_RunModified; UpdateSumOfBestValue(state); }
public SumOfBestComponent(LiveSplitState state) { Formatter = new RegularSumOfBestTimeFormatter(); InternalComponent = new InfoTimeComponent("Sum of Best Segments", null, Formatter) { AlternateNameText = new string[] { "Sum of Best", "SoB" } }; Settings = new SumOfBestSettings(); state.OnSplit += state_OnSplit; state.OnUndoSplit += state_OnUndoSplit; state.OnReset += state_OnReset; CurrentState = state; CurrentState.RunManuallyModified += CurrentState_RunModified; UpdateSumOfBestValue(state); }