public void loadReplay(MapAnalysisContext mw) { this.mw = mw; rv = new ReplayP { mw = mw, }; }
private void loadCurrentReplay() { loadReplay.Enabled = false; var tp = scoreDb.Scores[mapSelect.SelectedIndex]; var map = mapsByHash[tp.Item1]; var score = tp.Item2[replaySelect.SelectedIndex]; mw = new MapAnalysisContext(map, score, osuRoot); coolPanel.loadReplay(mw); scrubber1.loadReplay(mw); }