fase 1 de zones
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "game/gameplay/item_tracker.hpp" // Para ItemTracker
|
||||
#include "game/gameplay/key_tracker.hpp" // Para KeyTracker
|
||||
#include "game/gameplay/room.hpp" // Para Room, RoomData
|
||||
#include "game/gameplay/zone_manager.hpp" // Para ZoneManager
|
||||
#include "game/gameplay/room_tracker.hpp" // Para RoomTracker
|
||||
#include "game/gameplay/scoreboard.hpp" // Para Scoreboard::Data, Scoreboard
|
||||
#include "game/options.hpp" // Para Options, options, Cheat, SectionState
|
||||
@@ -68,6 +69,7 @@ Game::Game(Mode mode)
|
||||
#endif
|
||||
|
||||
// Crea objetos e inicializa variables
|
||||
ZoneManager::init();
|
||||
ItemTracker::init();
|
||||
KeyTracker::init();
|
||||
DoorTracker::init();
|
||||
@@ -173,6 +175,7 @@ Game::~Game() {
|
||||
KeyTracker::destroy();
|
||||
DoorTracker::destroy();
|
||||
Inventory::destroy();
|
||||
ZoneManager::destroy();
|
||||
|
||||
if (Console::get() != nullptr) { Console::get()->on_toggle = nullptr; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user