Код: Выделить всё
#include
#include "Item.h"
#include "GameCharacter.h"
#ifndef ROOM_H
#define ROOM_H
using namespace std;
class Room
{
public:
int pos;
bool isExit;
vector items;
vector enemies;
Room(int, bool, vector, vector);
void clearLoot();
void clearEnemies();
};
#endif
выполнение кода в Windows с помощью mingw
Подробнее здесь: https://stackoverflow.com/questions/658 ... or-library
Мобильная версия