1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#include "includes.h" Highscore::Highscore(char* name, int level) { this->name = name; this->level = level; } char* Highscore::getName() { return name; } int Highscore::getLevel() { return level; } void Highscore::setRank(int rank) { this->rank = rank; } int Highscore::getRank() { return rank; }