|
RuneHive-Game
|
This is a debug action. More...
Public Member Functions | |
| DebugAction (Player player) | |
| void | execute () |
| A function representing the unit of work that will be carried out. | |
| 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. | |
Private Member Functions | |
| void | input (Player player) |
| final void | save () |
Private Attributes | |
| Map< Integer, String > | DATA = new HashMap<>() |
| int | identification |
| boolean | inputTaken |
| boolean | pause |
| final Player | player |
| int | tick |
Additional Inherited Members | |
| Protected Member Functions inherited from com.runehive.game.task.Task | |
| void | baseExecute () |
| boolean | canSchedule () |
| A function executed on registration. | |
| void | onCancel (boolean logout) |
| A function executed on cancellation. | |
| void | onSchedule () |
| A function executed on registration. | |
| 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) |
This is a debug action.
Feel free to modify this how you want to test whatever.
Definition at line 21 of file DebugAction.java.
| com.runehive.game.action.impl.DebugAction.DebugAction | ( | Player | player | ) |
Definition at line 35 of file DebugAction.java.
References player.
| void com.runehive.game.action.impl.DebugAction.execute | ( | ) |
A function representing the unit of work that will be carried out.
Reimplemented from com.runehive.game.task.Task.
Definition at line 64 of file DebugAction.java.
References com.runehive.game.task.Task.cancel(), com.runehive.util.MessageColor.DARK_RED, DATA, execute(), identification, input(), inputTaken, pause, player, save(), and tick.
Referenced by execute().
|
private |
Definition at line 54 of file DebugAction.java.
References DATA, identification, input(), inputTaken, pause, and player.
Referenced by execute(), and input().
|
private |
Definition at line 45 of file DebugAction.java.
References DATA.
Referenced by execute().
|
private |
Definition at line 23 of file DebugAction.java.
|
private |
Definition at line 27 of file DebugAction.java.
|
private |
Definition at line 33 of file DebugAction.java.
|
private |
Definition at line 31 of file DebugAction.java.
|
private |
Definition at line 25 of file DebugAction.java.
Referenced by DebugAction(), execute(), and input().
|
private |
Definition at line 29 of file DebugAction.java.
Referenced by execute().