added new starting-functions to make it a little easier.
authorchristoph <christoph@christoph-PC.lan>
Wed, 19 Aug 2009 01:03:05 +0000 (03:03 +0200)
committerchristoph <christoph@christoph-PC.lan>
Wed, 19 Aug 2009 01:03:05 +0000 (03:03 +0200)
game.lisp

index 711dc78..8051f9f 100755 (executable)
--- a/game.lisp
+++ b/game.lisp
@@ -4,6 +4,13 @@
 
 (defparameter *cfont* nil)
 
+(defun run-testing-room ()
+  (start-game :room-function #'make-testing-room))
+
+(defun run-room (item-list)
+  (start-game :room-function
+             #'(lambda () (create-room-from-item-list item-list))))
+
 (defun start-game (&key (music nil) room-function (15-fps nil))
   "Start the Game: Call room-function for getting the room-object to
 run. Music is ignored so far. 15-fps makes only every second frame be