|
|
发表于 2010-5-9 20:07:31
|
显示全部楼层
to go# R% _- C# L# {! v0 f! Q
ask turtles [if any? patches with [pcolor = red and not any? turltes-here]
: U j, a# X& H# t, \( S; U3 W- r0 ~$ \# K- o! M
[move-to one-of patches with [pcolor = red and not any? turtles-here]]
0 e+ i6 k5 s0 N) W# ^[move-to one-of patches with [pcolor = blue and not any? turtles-here]]
, \+ S+ l; s, s; u& R9 R) jend |
评分
-
查看全部评分
|