examples
Class RandomAgent

java.lang.Object
  extended bysema.Element
      extended bysema.Agent
          extended bymodelling.MovingAgent
              extended byexamples.RandomAgent
All Implemented Interfaces:
java.lang.Comparable

public class RandomAgent
extends MovingAgent


Nested Class Summary
 
Nested classes inherited from class modelling.MovingAgent
MovingAgent.Errer, MovingAgent.MoveTo
 
Nested classes inherited from class sema.Agent
Agent.Action
 
Nested classes inherited from class sema.Element
Element.ElementEvent
 
Field Summary
 
Fields inherited from class sema.Element
id, world
 
Constructor Summary
RandomAgent(World world, Area area, float delay, java.awt.Image image)
           
 
Methods inherited from class modelling.MovingAgent
acceptAction, canSee, fitStep, getSpeed, randomStep, rotate, setSpeed, translate, walk
 
Methods inherited from class sema.Agent
getDelay, registerAction, setDelay, unregisterAction
 
Methods inherited from class sema.Element
canTake, compareTo, death, draw, getArea, getDrawingPriority, getHeight, getIcon, getImage, getKind, getName, getProperties, highlight, highlight, isMarked, kill, setDrawingPriority, setHeight, setKind, setMarked, setProperties, toString, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomAgent

public RandomAgent(World world,
                   Area area,
                   float delay,
                   java.awt.Image image)