Drugwars/src/include/Player.h

28 lines
442 B
C++

//
// Created by gustavomiranda on 27/09/24.
//
#ifndef DRUGWARS_PLAYER_H
#define DRUGWARS_PLAYER_H
#include "Bag.h"
class Player {
private:
int money;
Bag * inventory;
void setMoney(int value);
public:
Player();
~Player();
int getCurrentMoney();
void incrementMoney(int value);
void decrementMoney(int value);
Bag *getInventory();
bool checkEnoughMoney(int value);
};
#endif //DRUGWARS_PLAYER_H