You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -161,7 +161,7 @@ struct MovementSystem : public System<MovementSystem> {
161
161
position->x += direction->x * dt;
162
162
position->y += direction->y * dt;
163
163
}
164
-
}
164
+
};
165
165
};
166
166
```
167
167
@@ -200,7 +200,7 @@ class CollisionSystem : public System<CollisionSystem> {
200
200
}
201
201
}
202
202
}
203
-
}
203
+
};
204
204
};
205
205
```
206
206
@@ -248,21 +248,24 @@ Several events are emitted by EntityX itself:
248
248
249
249
Managing systems, components and entities can be streamlined by subclassing `Manager`. It is not necessary, but it provides callbacks for configuring systems, initializing entities, and so on.
250
250
251
-
To use it, subclass `Manager` and implement `configure()`, `initialize()` and `update()`:
251
+
To use it, subclass `Manager` and implement `configure()`, `initialize()` and `update()`. In this example a new `Manager` is created for each level.
0 commit comments