becker.robots
Class StateChangeEvent

java.lang.Object
  extended by becker.robots.StateChangeEvent

public class StateChangeEvent
extends Object

Reflect a change of state event within the robot world.

Author:
Byron Weber Becker

Method Summary
 Sim getSource()
          Which Sim generated the event?
 StateChangeEventType getType()
          What type of event was it?
 String toString()
          Represent the event as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public StateChangeEventType getType()
What type of event was it?

Returns:
The event's type.

getSource

public Sim getSource()
Which Sim generated the event?


toString

public String toString()
Represent the event as a string.

Overrides:
toString in class Object