aboutsummaryrefslogtreecommitdiff
path: root/oop1w4/Spel.h
blob: 9ed04bae0cb70559af893320a3a428a3a243b5c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <string>
#include <map>

#include "Persoon.h"

class Spel {
	public:
		void setScore(std::string naam, int score);
		void addScore(std::string naam, int score);
		int getScore(std::string naam) const;
		Persoon* getPersoon(std::string naam) const;
		std::map<Persoon,int>& getScores();
	
	private:
		std::map<Persoon, int> scores;
};