|
RuneHive-Game
|
Public Member Functions | |
| void | execute () |
| A function representing the unit of work that will be carried out. | |
| abstract void | onExecute () |
| SteppingStoneTask (Player player, GameObject object) | |
| Public Member Functions inherited from com.runehive.game.task.Task | |
| Task | attach (Object newKey) |
| Attaches a new key. | |
| synchronized final void | cancel () |
| Cancels all subsequent executions. | |
| synchronized final void | cancel (boolean logout) |
| Cancels all subsequent executions. | |
| boolean | canRun () |
| Determines if the task can be ran. | |
| Optional< Object > | getAttachment () |
| String | getCreationStackTraceStr () |
| int | getDelay () |
| Long | getElapsedTimeFromRunStartTime () |
| Optional< Long > | getRunStartTime () |
| long | getTaskCreationTime () |
| String | getTaskId () |
| boolean | isInstant () |
| boolean | isRunning () |
| void | setDelay (int delay) |
| Sets the cyclic delay. | |
| void | setExecutionTime () |
| Task (boolean instant, int delay) | |
Creates a new Task. | |
| Task (int delay) | |
Creates a new Task that doesn't execute instantly. | |
Protected Member Functions | |
| void | onCancel (boolean logout) |
| A function executed on cancellation. | |
| void | onSchedule () |
| A function executed on registration. | |
| Protected Member Functions inherited from com.runehive.game.task.Task | |
| void | baseExecute () |
| boolean | canSchedule () |
| A function executed on registration. | |
Protected Attributes | |
| int | tick |
Private Attributes | |
| final GameObject | object |
| final Player | player |
Additional Inherited Members | |
| Package Functions inherited from com.runehive.game.task.Task | |
| void | onException (Exception e) |
| A function executed on thrown exceptions. | |
| void | onLoop () |
| A function executed when iterated over. | |
| final synchronized void | process () |
| synchronized void | setRunning (boolean running) |
Definition at line 7 of file SteppingStoneTask.java.
| com.runehive.game.task.impl.SteppingStoneTask.SteppingStoneTask | ( | Player | player, |
| GameObject | object ) |
Definition at line 13 of file SteppingStoneTask.java.
| void com.runehive.game.task.impl.SteppingStoneTask.execute | ( | ) |
A function representing the unit of work that will be carried out.
Reimplemented from com.runehive.game.task.Task.
Definition at line 30 of file SteppingStoneTask.java.
References onExecute(), and tick.
|
protected |
A function executed on cancellation.
Reimplemented from com.runehive.game.task.Task.
Definition at line 36 of file SteppingStoneTask.java.
|
abstract |
|
protected |
A function executed on registration.
Reimplemented from com.runehive.game.task.Task.
Definition at line 20 of file SteppingStoneTask.java.
References com.runehive.game.task.Task.cancel(), and player.
|
private |
Definition at line 10 of file SteppingStoneTask.java.
Referenced by SteppingStoneTask().
|
private |
Definition at line 9 of file SteppingStoneTask.java.
Referenced by onSchedule(), and SteppingStoneTask().
|
protected |
Definition at line 11 of file SteppingStoneTask.java.
Referenced by execute().