Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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)
     };
 }