public AmnesiaComponent(LiveSplitState state) { _timer = new TimerModel() { CurrentState = state }; _timer.OnStart += timer_OnStart; _updateTimer = new Timer() { Interval = 15, Enabled = true }; _updateTimer.Tick += updateTimer_Tick; _gameMemory = new GameMemory(); _gameMemory.OnLoadingChanged += gameMemory_OnLoadingChanged; }
public AmnesiaComponent(LiveSplitState state) { _timer = new TimerModel() { CurrentState = state }; _timer.OnStart += timer_OnStart; _updateTimer = new Timer() { Interval = 15, Enabled = true }; _updateTimer.Tick += updateTimer_Tick; _gameMemory = new GameMemory(); _gameMemory.OnLoadingChanged += gameMemory_OnLoadingChanged; }