planet.simulate
Class Event
java.lang.Object
planet.simulate.Event
- All Implemented Interfaces:
- java.io.Serializable, IEvent
public class Event
- extends java.lang.Object
- implements IEvent, java.io.Serializable
- Author:
- Pedro García, Carles Pairot
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
- See Also:
- Serialized Form
Constructor Summary |
Event(Id from,
Id to,
int type,
int times)
|
Event(Id from,
Id to,
int type,
int times,
int time)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Event
public Event(Id from,
Id to,
int type,
int times)
Event
public Event(Id from,
Id to,
int type,
int times,
int time)
getFrom
public Id getFrom()
- Specified by:
getFrom
in interface IEvent
getTo
public Id getTo()
- Specified by:
getTo
in interface IEvent
getType
public int getType()
- Specified by:
getType
in interface IEvent
getTimes
public int getTimes()
- Specified by:
getTimes
in interface IEvent
getTime
public int getTime()
- Specified by:
getTime
in interface IEvent
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object