StupidModel : version v

 

A second bug action : frowing by a constant amount.
To download this tutorial =.

StupidModel - version 2
Modify the Bug class
 

2.1.1 Add an attribute named «size»

 

2.1.2 Create accessing method (default value of «size» = 0)

 

2.1.3 Write a «grow» method

Adjust the scheduling of Stupid Model
Write a specific povSize method for the Bug
Run version 2 of Stupid Model
 

2.4.1 by using point of view «pov»

 

2.4.2 by using point of view «povSize»

 

 


Le Cirad Centre de coopération internationale en recherche agronomique pour le développement
Legal notice © Copyright Cirad 2001-2015 cormas-webmaster@cirad.fr