summary refs log tree commit diff stats
path: root/highscore.cpp
blob: eefe05814cdd7846d7e51e9bf70e7a35b6ef242d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "highscore.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; }