From eede4e38936f10c03f4a66427ccb885142cf4237 Mon Sep 17 00:00:00 2001 From: jsancho Date: Sun, 1 Nov 2009 14:48:06 +0000 Subject: [PATCH] --- gacela_mobs.lisp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gacela_mobs.lisp b/gacela_mobs.lisp index 79a8be2..62e6e6c 100755 --- a/gacela_mobs.lisp +++ b/gacela_mobs.lisp @@ -17,10 +17,15 @@ ;;; World of Mob -(in-package :gacela) +;(in-package :gacela) (defmacro makemob (name variables &rest methods) - `(lambda , + `(let ,variables + (defun ,name (&rest args &aux (option (car args))) + ,(mob-options methods)))) + +(defun mob-options (methods) + ) (defmacro defmob (name variables &key init logic render) `(let ((make-name ',(intern (concatenate 'string "MAKE-" (string name))))) -- 2.39.5