projects
/
clnl
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code - turtles-own
[clnl]
/
src
/
main
/
nvm
/
base.lisp
diff --git
a/src/main/nvm/base.lisp
b/src/main/nvm/base.lisp
index af87bc27e167f68c320a51009d59087bb22b60d6..54d0246b62c7932341a5827b60e5fba378e1557a 100644
(file)
--- a/
src/main/nvm/base.lisp
+++ b/
src/main/nvm/base.lisp
@@
-3,6
+3,7
@@
(defvar *current-id* 0)
(defvar *turtles* nil)
(defvar *current-id* 0)
(defvar *turtles* nil)
+(defvar *turtles-own-vars* nil)
(defvar *patches* nil)
(defvar *myself* nil)
(defvar *self* nil)
(defvar *patches* nil)
(defvar *myself* nil)
(defvar *self* nil)
@@
-29,7
+30,7
@@
DESCRIPTION:
:stop is returned."
`(handler-case (progn ,@forms) (stop (s) (declare (ignore s)) :stop)))
:stop is returned."
`(handler-case (progn ,@forms) (stop (s) (declare (ignore s)) :stop)))
-(defstruct turtle who color heading xcor ycor (label "") (label-color 9.9d0) (size 1d0) shape)
+(defstruct turtle who color heading xcor ycor (label "") (label-color 9.9d0) (size 1d0) shape
own-vars
)
(defstruct patch color xcor ycor)
(defun agentset-list (agentset)
(defstruct patch color xcor ycor)
(defun agentset-list (agentset)