summaryrefslogtreecommitdiff
path: root/2d/scene.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-11-03 20:02:44 -0500
committerDavid Thompson <dthompson2@worcester.edu>2013-11-03 20:02:44 -0500
commit49f93e5fe7261dd520a0013508fd02086af6ae17 (patch)
tree47c7fd2d368974bd1975e497e1b7108cf79b5803 /2d/scene.scm
parent77a17d8a5514a0eb920a9d81bf5bf42a192d4266 (diff)
Pass scene state to all observer event handlers.
Diffstat (limited to '2d/scene.scm')
-rw-r--r--2d/scene.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/scene.scm b/2d/scene.scm
index 7415f80..cb053b7 100644
--- a/2d/scene.scm
+++ b/2d/scene.scm
@@ -89,5 +89,5 @@ SCENE."
"Call the update callback for SCENE with STATE."
((scene-update scene) state))
-(define (scene-trigger scene event . args)
- (apply observer-trigger (scene-observer scene) event args))
+(define (scene-trigger scene state event . args)
+ (apply observer-trigger (scene-observer scene) event state args))