Skip to content

Commit

Permalink
give public access to scoreman's scoresbykey map
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Oct 9, 2018
1 parent e12bb98 commit 91e6f5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ScoreManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ class ScoreManager
std::swap(score, AllScores.back());
}
const vector<HighScore*>& GetAllScores() { return AllScores; }
const unordered_map<string, HighScore*>& GetScoresByKey(){return ScoresByKey;}
const vector<HighScore*>& GetAllProfileScores(
const string& profileID = PROFILEMAN->GetProfile(PLAYER_1)->m_sProfileID)
{
Expand Down

0 comments on commit 91e6f5f

Please sign in to comment.