#if !defined(_HIGHSCORE_H) #define _HIGHSCORE_H #include class Highscore { protected: TStringList* scores; int berechneChecksumme(int pScore, AnsiString pName); bool ueberpruefeChecksumme(int pScore, AnsiString pName, int pChecksumme); bool schreibeScore(int pScore, AnsiString pName); AnsiString leseName(int pPlatz); int leseScore(int pPlatz); int leseChecksumme(int pPlatz); public: Highscore(); bool sendeScore(int pScore, AnsiString pName); AnsiString gibName(int pPlatz); int gibScore(int pPlatz); void ueberpruefeHighscores(); void ladeHighscores(); }; #endif //_HIGHSCORE_H