public TotalPlaytimeComponent(LiveSplitState state) { TimeFormatter = new RegularTimeFormatter(TimeAccuracy.Seconds); InternalComponent = new InfoTimeComponent("Total Playtime", TimeSpan.Zero, TimeFormatter); Settings = new TotalPlaytimeSettings() { CurrentState = state }; }
public TotalPlaytimeComponent(LiveSplitState state) { HoursTimeFormatter = new RegularTimeFormatter(); DaysTimeFormatter = new DaysTimeFormatter(); InternalComponent = new InfoTimeComponent("Total Playtime", TimeSpan.Zero, DaysTimeFormatter); Settings = new TotalPlaytimeSettings() { CurrentState = state }; }