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(); }
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(); }