From: Alec Thomas Date: Sat, 2 Jan 2016 23:15:17 +0000 (+1100) Subject: Use update_all() in example. X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=249d97a975d0ef97be66e3ce201f169e3a27101c;p=clyne%2Fentityx.git Use update_all() in example. --- 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); } };