#include "stage.h"
+#include "accessguard.h"
#include "camera.h"
#include "root.h"
#include "system.h"
void Stage::tick(Time::TimeDelta dt)
{
- for(const auto &s: systems)
- s->tick(dt);
+ {
+#ifdef DEBUG
+ AccessGuard::BlockForScope _block;;
+#endif
+ for(const auto &s: systems)
+ s->tick(dt);
+ }
+
for(const auto &s: systems)
s->deferred_tick();
}