summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-07-18 23:19:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-07-27 17:15:45 +0200
commit8d0c58e6ce871f7e95221f6ab9e18fc135b97702 (patch)
tree125e38e77f2f998bf886451f55eb3e1edc4a80ab
parent44480bdd38da7560a38bbea24e916a4939f2a167 (diff)
Every <character> can accept messages and may have conversations.
-rw-r--r--scenes/game.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/scenes/game.scm b/scenes/game.scm
index e142607..7ad5bde 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -45,6 +45,8 @@
(define-class <character> (<node-2d>)
+ (conversations #:accessor conversations #:init-keyword #:conversations)
+ (accepted-messages #:accessor accepted-messages #:init-form '(hello))
(velocity #:getter velocity #:init-form (vec2 0.0 0.0))
(walk-speed #:accessor walk-speed #:init-form 0.8)
(direction #:accessor direction #:init-form '(idle))