public class LifeEvent extends AbstractEvent implements Event
Constructor and Description |
---|
LifeEvent(Participant p,
LifeEventType type,
Fashion backcolor) |
Modifier and Type | Method and Description |
---|---|
boolean |
dealWith(Participant someone) |
AbstractMessage |
getMessage() |
Participant |
getParticipant() |
Fashion |
getSpecificColors() |
LifeEventType |
getType() |
boolean |
isActivate() |
boolean |
isDeactivate() |
boolean |
isDeactivateOrDestroy() |
boolean |
isDestroy(Participant p) |
void |
setMessage(AbstractMessage message) |
java.lang.String |
toString() |
getUrl, hasUrl, isParallel, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUrl, hasUrl, isParallel, setY
public LifeEvent(Participant p, LifeEventType type, Fashion backcolor)
public java.lang.String toString()
toString
in class java.lang.Object
public Participant getParticipant()
public LifeEventType getType()
public Fashion getSpecificColors()
public boolean dealWith(Participant someone)
public boolean isActivate()
public boolean isDeactivateOrDestroy()
public boolean isDeactivate()
public boolean isDestroy(Participant p)
public void setMessage(AbstractMessage message)
public AbstractMessage getMessage()