Interface TaskScheduler
public interface TaskScheduler
Responsible for scheduling tasks to occur later.
Heavily inspired by Bukkit's scheduler.
-
Method Summary
-
Method Details
-
start
Schedules a task for execution.- Parameters:
task- the task to run
-
cancel
Cancels a task.- Parameters:
task- the task to cancel
-