public class CountdownEventAction<T extends Event> extends EventAction<T>
| Constructor and Description |
|---|
CountdownEventAction(java.lang.Class<? extends T> eventClass,
int count) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(T event)
Called when the specific type of event occurs on the actor.
|
act, isActive, restart, setActive, setTargetpublic CountdownEventAction(java.lang.Class<? extends T> eventClass, int count)
public boolean handle(T event)
EventActionhandle in class EventAction<T extends Event>handled and this EventAction considered complete.