#define MSP_GAME_STAGE_H_
#include <memory>
+#include <msp/datafile/collection.h>
#include <msp/time/timedelta.h>
#include "eventbus.h"
#include "events.h"
Events::ComponentCreated, Events::ComponentDestroyed>;
private:
+ DataFile::Collection &resources;
PoolPool pools;
EventBus event_bus;
EventSource event_source;
std::vector<std::unique_ptr<System>> 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; }