X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fdirector.h;h=de19185849e121e50e7c112ce59aa68a50e46fa7;hb=91e5d4366b857f2441abe7c9a61b6154bd23ea3f;hp=5f33aef0a0dcbe48fe744832a17fe54556a3ad84;hpb=aec84d90bbbbd7dce66cc90ed545322802b959f6;p=libs%2Fgame.git diff --git a/source/game/director.h b/source/game/director.h index 5f33aef..de19185 100644 --- a/source/game/director.h +++ b/source/game/director.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include "eventbus.h" @@ -19,6 +20,7 @@ public: using EventSource = Game::EventSource; private: + DataFile::Collection &resources; EventBus event_bus; EventSource event_source; std::vector> stages; @@ -30,8 +32,10 @@ private: unsigned max_backlog_steps = 600; public: - Director(); + Director(DataFile::Collection &); + ~Director(); + DataFile::Collection &get_resources() const { return resources; } EventBus &get_event_bus() { return event_bus; } EventSource &get_event_source() { return event_source; } const std::vector> &get_stages() const { return stages; }