mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-05-08 23:49:42 +00:00
fix build
This commit is contained in:
parent
959a838492
commit
05021f3e50
@ -71,7 +71,7 @@ void User::setUnlockedItems(const QSet<int> &newUnlockedItems) {
|
||||
int User::recalcTier() {
|
||||
int _tier = 0;
|
||||
|
||||
while (xp() > tiersTable[_tier]) {
|
||||
while (getXp() > tiersTable[_tier]) {
|
||||
_tier++;
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ void User::setTier(int tier) {
|
||||
emit tierChanged();
|
||||
}
|
||||
|
||||
int User::xp() const {
|
||||
int User::getXp() const {
|
||||
return _xp;
|
||||
}
|
||||
|
||||
@ -101,11 +101,11 @@ void User::setXp(int newXp) {
|
||||
emit xpChanged();
|
||||
}
|
||||
|
||||
int User::tier() {
|
||||
int User::getTier() {
|
||||
return _tier;
|
||||
}
|
||||
|
||||
int User::money() const {
|
||||
int User::getMoney() const {
|
||||
return _money;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user