Store Rooms instead of Playfields inside of Global
This commit is contained in:
parent
6273f4ec88
commit
45afcdee07
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
|
|
||||||
namespace World {
|
namespace World {
|
||||||
class Playfield;
|
struct Room;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Connection {
|
namespace Connection {
|
||||||
|
@ -108,7 +108,7 @@ public:
|
||||||
|
|
||||||
struct Global {
|
struct Global {
|
||||||
std::vector<std::shared_ptr<Client>> clients;
|
std::vector<std::shared_ptr<Client>> clients;
|
||||||
std::vector<std::shared_ptr<World::Playfield>> playfields;
|
std::vector<std::shared_ptr<World::Room>> rooms;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue