MATES 3.0-rc2

org.mates.sim.event.agent
Class AgentEvent

java.lang.Object
  extended byorg.mates.sim.event.Event
      extended byorg.mates.sim.event.agent.AgentEvent
Direct Known Subclasses:
AgentArrivalEvent, AgentCreatedEvent, AgentDeathEvent, AgentMigrationEvent

public abstract class AgentEvent
extends Event


Field Summary
protected  Agent agent
          The agent associated with this event.
 
Constructor Summary
AgentEvent(Agent agent)
          Creates a new AgentEvent, associated with the provided agent.
 
Method Summary
 Agent getAgent()
          Returns the agent associated with this event.
 
Methods inherited from class org.mates.sim.event.Event
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

agent

protected Agent agent
The agent associated with this event.

Constructor Detail

AgentEvent

public AgentEvent(Agent agent)
Creates a new AgentEvent, associated with the provided agent.

Method Detail

getAgent

public Agent getAgent()
Returns the agent associated with this event.


MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik