From 249d97a975d0ef97be66e3ce201f169e3a27101c Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Sun, 3 Jan 2016 10:15:17 +1100 Subject: Use update_all() in example. --- examples/example.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'examples/example.cc') 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(dt); - systems.update(dt); - systems.update(dt); - systems.update(dt); - systems.update(dt); - systems.update(dt); - systems.update(dt); - systems.update(dt); + systems.update_all(dt); } }; -- cgit v1.2.3