summaryrefslogtreecommitdiff
path: root/examples/animation.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2014-04-24 21:57:50 -0400
committerDavid Thompson <dthompson@member.fsf.org>2014-04-24 21:57:50 -0400
commitc9bb5b91b82900294413786f75b6ef021a59bb5a (patch)
tree45b612a76ec1d90db4a26b496b2ba2c8ae972ac8 /examples/animation.scm
parent42b7951d5a5104b16b1dd547fc98130b6232ca04 (diff)
Rename game loop procedures and remove parameter.
* 2d/game.scm (tick-interval): No longer a parameter. (run-game-loop, start-game-loop): Rename. (quit-game, stop-game-loop): Rename. * examples/animation.scm: Use start-game-loop and stop-game-loop. * examples/common.scm: Use start-game-loop and stop-game-loop. * examples/coroutine.scm: Use start-game-loop and stop-game-loop. * examples/font.scm: Use start-game-loop and stop-game-loop. * examples/guile-2048/guile-2048.scm: Use start-game-loop and stop-game-loop. * examples/particles.scm: Use start-game-loop and stop-game-loop. * examples/simple.scm: Use start-game-loop and stop-game-loop. * examples/tilemap.scm: Use start-game-loop and stop-game-loop.
Diffstat (limited to 'examples/animation.scm')
-rw-r--r--examples/animation.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation.scm b/examples/animation.scm
index d72637c..8be77ef 100644
--- a/examples/animation.scm
+++ b/examples/animation.scm
@@ -44,4 +44,4 @@ sprite out of it."
(add-hook! draw-hook (lambda (dt alpha) (draw-sprite sprite)))
(with-window (make-window #:title "Animation")
- (run-game-loop))
+ (start-game-loop))