2-001 // Sugarscape in Swarm. Copyright © 1997-1998 Nelson Minar
2-002 // This program is distributed without any warranty; without even the
2-003 // implied warranty of merchantability or fitness for a particular purpose.
2-004 // See file LICENSE for details and terms of copying.
2-005 
2-006 #import "ObserverSwarm.h"
2-007 #import <simtools.h>   // initSwarm macro
2-008 #import <simtoolsgui.h>
2-009 
2-010 int
2-011 main (int argc, const char **argv)
2-012 {
2-013   ObserverSwarm *observerSwarm;
2-014 
2-015   initSwarm (argc, argv);
2-016 
2-017   observerSwarm = [ObserverSwarm createBegin: globalZone];
2-018   SET_WINDOW_GEOMETRY_RECORD_NAME (observerSwarm);
2-019   observerSwarm = [observerSwarm createEnd];
2-020   [observerSwarm buildObjects];
2-021   [observerSwarm buildActions];
2-022   [observerSwarm activateIn: nil];
2-023   [observerSwarm go];
2-024 
2-025   return 0;
2-026 }

