The (Swarm) OOP way
Each agent saves his own behavior and state and acts when called upon by scheduler or other agents
The event loop is now embedded in an object that sends messages to agents and objects
Previous slide
Next slide
Back to first slide
View graphic version