|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrlgamekit.scheduler.ScheduledAction
public abstract class ScheduledAction
Base class for actions schduled by the scheduler. Timed NPC actions (and maybe also timed PC actions) might be handled by subclasses of this.
| Constructor Summary | |
|---|---|
ScheduledAction(long order)
Creates a new instance of ScheduledAction |
|
| Method Summary | |
|---|---|
abstract int |
execute()
Executes the action linked to this event. |
long |
getOrder()
Get the current ordering value of this action.W |
void |
setOrder(long order)
Set the time or order when this even is due to happen. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduledAction(long order)
| Method Detail |
|---|
public long getOrder()
public void setOrder(long order)
order - the order to setpublic abstract int execute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||