Added a Missing method on Player.cpp to set the Money Value
This commit is contained in:
parent
7887ee2678
commit
09810d6449
|
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
|
|
||||||
|
void Player::setMoney(int value){
|
||||||
|
money = value;
|
||||||
|
}
|
||||||
|
|
||||||
int Player::getCurrentMoney() {
|
int Player::getCurrentMoney() {
|
||||||
return money;
|
return money;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue