Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public EmbeddedLayoutComponent(LiveSplitState state)
 {
     Settings = new DeltaSettings()
     {
         CurrentState = state
     };
     InternalComponent = new ComponentRendererComponent();
     InternalComponent.VisibleComponents = new List <IComponent>()
     {
         new RunPrediction(state), new GraphCompositeComponent(state)
     };
 }