From: jsancho Date: Sun, 1 Nov 2009 14:48:06 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=eede4e38936f10c03f4a66427ccb885142cf4237;p=gacela.git --- 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)))))