// Template application. Copyright © 1996-2000 Swarm Development Group. // This library is distributed without any warranty; without even the // implied warranty of merchantability or fitness for a particular purpose. // See file LICENSE for details and terms of copying. // Template main.m: this particular "simulation" just creates an object // that spins its own counter, prints out numbers occasionally. Take that // code out and add in your own simulation needs. // Pay special attention to the word "MODIFY", that's for you to customize. #import // initSwarm #import "ObserverSwarm.h" int main (int argc, const char **argv) { ObserverSwarm *observerSwarm; initSwarm (argc, argv); observerSwarm = [ObserverSwarm create: globalZone]; [observerSwarm buildObjects]; [observerSwarm buildActions]; [observerSwarm activateIn: nil]; [observerSwarm go]; return 0; }