X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fstage.h;h=6af3b60a62596b97d61f833baa0c937c395b063a;hb=41fa4483d8f017175800992d8fdacd7ee312d0c3;hp=d7793e22f60ec21fd52acab1b8af9aafbe2f4d94;hpb=aec84d90bbbbd7dce66cc90ed545322802b959f6;p=libs%2Fgame.git diff --git a/source/game/stage.h b/source/game/stage.h index d7793e2..6af3b60 100644 --- a/source/game/stage.h +++ b/source/game/stage.h @@ -2,6 +2,7 @@ #define MSP_GAME_STAGE_H_ #include +#include #include #include "eventbus.h" #include "events.h" @@ -20,6 +21,7 @@ public: Events::ComponentCreated, Events::ComponentDestroyed>; private: + DataFile::Collection &resources; PoolPool pools; EventBus event_bus; EventSource event_source; @@ -29,9 +31,10 @@ private: std::vector> systems; public: - Stage(); + Stage(DataFile::Collection &); ~Stage(); + DataFile::Collection &get_resources() const { return resources; } PoolPool &get_pools() { return pools; } EventBus &get_event_bus() { return event_bus; } EventSource &get_event_source() { return event_source; }