Package com.tomkeuper.bedwars.api.tasks
Interface RestartingTask
public interface RestartingTask
The RestartingTask interface represents a task that handles the restarting process of a game in a BedWars arena.
-
Method Summary
-
Method Details
-
getArena
IArena getArena()Get the arena associated with the task.- Returns:
- The arena object.
-
getBukkitTask
org.bukkit.scheduler.BukkitTask getBukkitTask()Get the BukkitTask associated with the task.- Returns:
- The BukkitTask object.
-
getTask
int getTask()Get the task ID of the task.- Returns:
- The task ID.
-
getRestarting
int getRestarting()Get the remaining time for the restarting process.- Returns:
- The remaining time in seconds.
-
cancel
void cancel()Cancel the task.
-