diff options
author | Alec Thomas <alec@swapoff.org> | 2016-01-03 10:15:17 +1100 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2016-01-03 10:15:35 +1100 |
commit | 249d97a975d0ef97be66e3ce201f169e3a27101c (patch) | |
tree | 0cf3242c802940d54caba00ab189a216a0cb680f | |
parent | a2adbf6b6be9fe5c9f3724fa9c7958031af0e998 (diff) |
Use update_all() in example.
-rw-r--r-- | examples/example.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/example.cc b/examples/example.cc index bd049ba..6331325 100644 --- a/examples/example.cc +++ b/examples/example.cc @@ -365,14 +365,7 @@ public: } void update(ex::TimeDelta dt) { - systems.update<SpawnSystem>(dt); - systems.update<BodySystem>(dt); - systems.update<BounceSystem>(dt); - systems.update<CollisionSystem>(dt); - systems.update<ExplosionSystem>(dt); - systems.update<ParticleSystem>(dt); - systems.update<RenderSystem>(dt); - systems.update<ParticleRenderSystem>(dt); + systems.update_all(dt); } }; |