com.yobotics.simulationconstructionset.eventBased
Class Event
java.lang.Object
com.yobotics.simulationconstructionset.eventBased.Event
public class Event
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Event
public Event(EventType type)
- ctor
- Parameters:
type
- event type
Event
public Event(EventType type,
java.lang.String comment)
- ctor
- Parameters:
type
- event typecomment
- comment associated with the event
getType
public EventType getType()
getComment
public java.lang.String getComment()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object