summaryrefslogtreecommitdiff
path: root/2d/private
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-09-15 21:17:47 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-09-15 21:17:47 -0400
commit109d40a75d9135db707363b1747923d5b79eb18d (patch)
tree42abc6f8253f10e234fab1fa8156e02938b9ad38 /2d/private
parent787636a26527902f2e67e5c84ef147f53acfa6fa (diff)
Rename scene draw and update procedures.
They were inconsistent with the rest of the API.
Diffstat (limited to '2d/private')
-rw-r--r--2d/private/game.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/2d/private/game.scm b/2d/private/game.scm
index 63f0bd1..88a971f 100644
--- a/2d/private/game.scm
+++ b/2d/private/game.scm
@@ -46,12 +46,12 @@
(scene-state scene)
args))
-(define (scene-draw scene)
- "Draw scene."
+(define (draw-scene scene)
+ "Draw SCENE."
((scene-draw-proc scene) (scene-state scene)))
-(define (scene-update scene)
- "Update scene."
+(define (update-scene scene)
+ "Update SCENE."
((scene-update-proc scene) (scene-state scene)))
(export <scene>
@@ -63,8 +63,8 @@
scene-draw-proc
scene-state
scene-trigger
- scene-update
- scene-draw)
+ update-scene
+ draw-scene)
;;;
;;; Games