#pragma once #include "player.h" #include "location.h" #include "item.h" #include #include class Game { public: void run(); private: bool isRunning = true; Player player; std::vector locations; std::vector itemDatabase; void showMainMenu(); void loadItems(); void loadLocations(); ItemType parseItemType(const std::string& type); Location* getCurrentLocation(); void render(); void processCommand(); void movePlayer(int dx, int dy); void handleTile(char tile); void openChest(Location& location); bool solveRiddle(Location& location); };