// simpleSwarmBug3

               LOADING AND SAVING PARAMETERS

Only a small change here. By now, we're tired of altering the default
parameters in the code and then recompiling each time. So we make
use of a parameter file and an "ObjectLoader" to initialize the
parameters and experiment with them without recompiling.

Now, we can change the parameters of the model by editing the
file "model.setup", which has a simple format:

@begin
worldXSize 80
worldYSize 80
seedProb 0.9
bugDensity 0.01
@end

ObjectLoader has a partner called ObjectSaver that will write out an
objects instance variables.

-----------------------------------------------------------------------

main.m

Again, this file will not change very much from now on. All of
the action is happening in the model objects themselves.


ModelSwarm.h and ModelSwarm.m

In -buildObjects, we take advantage of an ObjectLoader to read in
the state variables of the ModelSwarm from a file. 


Running the model......

Now, you can edit the file "model.setup" to experiment with different
parameters for the model.



NEXT -> simpleObserverSwarm



