/**
Definition at line 48 of file TaskManager.java.
◆ cancel() [1/2]
void com.osroyale.game.task.TaskManager.cancel |
( |
Object | attachment | ) |
|
|
inline |
Cancels a task that has a specific attachment
.
- Parameters
-
attachment | The object that is attached to the task. |
Definition at line 139 of file TaskManager.java.
◆ cancel() [2/2]
void com.osroyale.game.task.TaskManager.cancel |
( |
Object | attachment, |
|
|
boolean | logout ) |
|
inline |
Cancels a task that has a specific attachment
.
- Parameters
-
attachment | The object that is attached to the task. |
logout | When the task gets canceled this flag determines if the player should logout. |
Definition at line 152 of file TaskManager.java.
◆ processTasks()
synchronized void com.osroyale.game.task.TaskManager.processTasks |
( |
| ) |
|
|
inline |
This method handles adding new tasks and processing of active tasks.
Definition at line 109 of file TaskManager.java.
◆ schedule()
synchronized void com.osroyale.game.task.TaskManager.schedule |
( |
Task | task | ) |
|
|
inline |
Schedules a Task
to be ran in the future.
- Parameters
-
task | The task to schedule. |
Definition at line 74 of file TaskManager.java.
The documentation for this class was generated from the following file: