From 45d6e635c880a7fae8711fba366519dd314d9faf Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 2 Nov 2023 09:17:25 -0400 Subject: Formatted source code --- highscore.cpp | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'highscore.cpp') diff --git a/highscore.cpp b/highscore.cpp index 7133e1a..eefe058 100644 --- a/highscore.cpp +++ b/highscore.cpp @@ -1,27 +1,14 @@ #include "highscore.h" -Highscore::Highscore(char* name, int level) -{ - this->name = name; - this->level = level; +Highscore::Highscore(char* name, int level) { + this->name = name; + this->level = level; } -char* Highscore::getName() -{ - return name; -} +char* Highscore::getName() { return name; } -int Highscore::getLevel() -{ - return level; -} +int Highscore::getLevel() { return level; } -void Highscore::setRank(int rank) -{ - this->rank = rank; -} +void Highscore::setRank(int rank) { this->rank = rank; } -int Highscore::getRank() -{ - return rank; -} +int Highscore::getRank() { return rank; } -- cgit 1.4.1