如何在NetLogo中创建特定品种的海龟?

时间:2015-03-27 12:15:37

标签: netlogo

我想按下netlogo树上的设置按钮并且房屋形状存在但只有3人向我展示请帮助我:

    breed [people person]
      breed [houses house]
      breed [trees   tree]
            to setup
        clear-all
        set-default-shape people "person"
        set-default-shape houses  "house"
            set-default-shape trees   "tree"
     crt 3[         
      set color red
      set size 2  ;; easier to see
      setxy random-xcor random-ycor
     ] 

1 个答案:

答案 0 :(得分:1)

致电create-houses(而不是crt)来创建房屋。请参阅手册中的create-turtles