diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-09 11:48:12 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-09 11:48:12 +0100 |
commit | ffae2cb77bfb3263146a2de0deedf6528d4df461 (patch) | |
tree | 88e4b61087069f8ce5badadbc6264d20b8a051d5 /week-4/Spel.h | |
parent | d797758769d033c64babdf77ea6b64262f792b23 (diff) |
repository aanpassen voor oop2
Diffstat (limited to 'week-4/Spel.h')
-rw-r--r-- | week-4/Spel.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/week-4/Spel.h b/week-4/Spel.h deleted file mode 100644 index 9ed04ba..0000000 --- a/week-4/Spel.h +++ /dev/null @@ -1,18 +0,0 @@ -#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; -}; |