20 lines
380 B
C++
20 lines
380 B
C++
#include "Room.h"
|
|
|
|
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
|
|
class Player: public GameCharacter {
|
|
public:
|
|
Room *currentRoom, *previousRoom;
|
|
vector<Item> inventory;
|
|
Player(string = "", int = 0, int = 0, int = 0);
|
|
|
|
void addItem(Item);
|
|
void increaseStats(int, int, int);
|
|
void lootRoom(Room*);
|
|
void changeRooms(Room*);
|
|
};
|
|
|
|
#endif
|
|
|