浏览代码

proper timing for scene

Nicolas Cannasse 11 年之前
父节点
当前提交
c9c04e7647
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hxd/App.hx

+ 2 - 0
hxd/App.hx

@@ -39,6 +39,8 @@ class App {
 		hxd.Timer.update();
 		s2d.checkEvents();
 		update(hxd.Timer.tmod);
+		s2d.setElapsedTime(Timer.tmod/60);
+		s3d.setElapsedTime(Timer.tmod/60);
 		engine.render(s3d);
 	}