com.yobotics.simulationconstructionset.eventBased
Class Event

java.lang.Object
  extended by com.yobotics.simulationconstructionset.eventBased.Event

public class Event
extends java.lang.Object


Constructor Summary
Event(EventType type)
          ctor
Event(EventType type, java.lang.String comment)
          ctor
 
Method Summary
 java.lang.String getComment()
           
 EventType getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event(EventType type)
ctor

Parameters:
type - event type

Event

public Event(EventType type,
             java.lang.String comment)
ctor

Parameters:
type - event type
comment - comment associated with the event
Method Detail

getType

public EventType getType()

getComment

public java.lang.String getComment()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object