1 #ifndef SCOREBOARD_H 2 #define SCOREBOARD_H 3 4 #include <string> 5 using namespace std; 6 7 #include "Visual.h" 8 #include "Game.h" 9 10 typedef struct{ 11 int value; 12 string name; 13 } scoretype; 14 15 class ScoreBoard { 16 public: 17 ScoreBoard(); 18 ~ScoreBoard(); 19 int IsHigh(int); 20 void NewScore(int newscore,char* newname); 21 scoretype score[6]; 22 void Print(); 23 void Display(Visual* visual); 24 void Load(char* filename); 25 void Dump(char* filename); 26 }; 27 28 29 #endif 30