summaryrefslogtreecommitdiff
path: root/apple-town-fair/place.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2022-12-06 08:05:30 -0500
committerDavid Thompson <dthompson@vistahigherlearning.com>2022-12-06 08:05:30 -0500
commit8255712c62cc0da844233995e04b1fa2cada5564 (patch)
tree1050f2eed35a868739ebd577cc1127cfc6e401e5 /apple-town-fair/place.scm
parent01825bf8f09f75cbe15eee97300a49fe332b502c (diff)
Add more previously uncommitted changes that I left hanging around.HEADmaster
Diffstat (limited to 'apple-town-fair/place.scm')
-rw-r--r--apple-town-fair/place.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/apple-town-fair/place.scm b/apple-town-fair/place.scm
index b96130d..01750da 100644
--- a/apple-town-fair/place.scm
+++ b/apple-town-fair/place.scm
@@ -17,6 +17,7 @@
#:use-module (catbird config)
#:use-module (catbird node)
#:use-module (catbird node-2d)
+ #:use-module (catbird scene)
#:use-module (oop goops)
#:export (<action>
condition
@@ -34,11 +35,11 @@
#:init-form (const #t))
(exec #:accessor exec #:init-keyword #:exec))
-(define-method (performable? (action <action>) scene)
- ((condition action) scene))
+(define-method (performable? (action <action>))
+ ((condition action) (current-scene)))
-(define-method (perform (action <action>) scene)
- ((exec action) scene))
+(define-method (perform (action <action>))
+ ((exec action) (current-scene)))
(define-class <place> (<node-2d>)
(title #:accessor title #:init-keyword #:title #:init-value "Unknown")