Added a Missing method on Player.cpp to set the Money Value

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2024-09-27 10:15:33 -03:00
parent 7887ee2678
commit 09810d6449
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
#include "Player.h"
void Player::setMoney(int value){
money = value;
}
int Player::getCurrentMoney() {
return money;