-! (c)2009 Joe Groff bsd license
+! Copyright (C) 2009 Joe Groff.
+! See http://factorcode.org/license.txt for BSD license.
USING: accessors audio.engine combinators concurrency.promises
-destructors fry game.input game.loop generic kernel math parser
-sequences threads ui ui.gadgets ui.gadgets.worlds ui.gestures
-words words.constant ;
-FROM: namespaces => change-global ;
+destructors game.input game.loop kernel math parser sequences
+threads ui ui.gadgets ui.gadgets.worlds vocabs.parser
+words.constant ;
IN: game.worlds
TUPLE: game-world < world
SYNTAX: GAME:
scan-new-word
- game-attributes parse-main-window-attributes
+ game-attributes parse-window-attributes
2dup define-attributes-word
parse-definition
- define-main-window ;
+ [ define-window ] [ 2drop current-vocab main<< ] 3bi ;