14 #include "../lib/minigames.h" 78 void addItem(
const std::string &item);
89 void displayContent()
const;
101 std::string getRoomDesc();
113 std::vector<EnemyStruct> getEnemies();
124 void addCoordinates(
int x,
int y);
130 std::pair<int, int> getCoordinates();
142 void setVisited(
bool hasVisited);
144 Game *getNonGamblingGame();
146 std::vector<std::string> getItems();
148 void displayRoomItems();
150 bool collect(
Player *player);
157 std::vector<std::string> items;
158 std::vector<EnemyStruct> enemies;
162 std::string roomDesc;
163 std::pair<int, int> cords;
165 std::unique_ptr<Game> nonGambilingGame;
192 void displayAvailableDirections();
Manages the content within a room, including items, enemies, and NPCs.
Definition: room.h:53
Defines the Player class for the Valeris game.
int health
Health points of the enemy.
Definition: room.h:31
Room * south
Pointer to the room to the south.
Definition: room.h:184
Room * north
Pointer to the room to the north.
Definition: room.h:183
RoomContent roomContent
The content of the room.
Definition: room.h:187
Represents a non-player character (NPC) in a room.
Definition: room.h:40
Abstract base class for mini-games.
Definition: minigames.h:28
Room * east
Pointer to the room to the east.
Definition: room.h:186
std::string name
Name of the enemy.
Definition: room.h:30
Represents an enemy in a room.
Definition: room.h:28
int skillLevel
Skill level of the NPC in the gambling game.
Definition: room.h:44
std::string name
Name of the NPC.
Definition: room.h:42
int attack
Attack power of the enemy.
Definition: room.h:32
std::unique_ptr< Game > gamblingGame
Pointer to a gambling game associated with the NPC.
Definition: room.h:43
Room * west
Pointer to the room to the west.
Definition: room.h:185
Manages player attributes and actions.
Definition: player.h:20
Represents a room in the dungeon.
Definition: room.h:174