public DetailedTimer(LiveSplitState state)
 {
     InternalComponent = new LiveSplit.UI.Components.Timer();
     SegmentTimer = new SegmentTimer();
     Settings = new DetailedTimerSettings()
     {
         CurrentState = state
     };
     IconWidth = 0;
     Cache = new GraphicsCache();
     LabelSegment = new SimpleLabel();
     LabelBest = new SimpleLabel();
     SegmentTime = new SimpleLabel();
     BestSegmentTime = new SimpleLabel();
     SplitName = new SimpleLabel();
     state.ComparisonRenamed += state_ComparisonRenamed;
 }
    public ManaTrackerComponent(LiveSplitState State){
        Settings = new ManaTrackerSettings(State);

        this.State = State;
        
        State.OnStart += OnRunStart;
        State.OnSplit += OnRunSplit;
        State.OnSkipSplit += OnRunSplit;
        State.OnUndoSplit += OnUndoRunSplit;

        GameProcess = GetGameProcess();

        CurrentSplitIndex = -1;
        
        ManaSnapshots = new List<ManaSnapshot>();
        SpecialEvents = new List<SpecialEvent>();

        IsInLoadingScreen = false;

        HeaderLabel = new SimpleLabel();
    }