Package net.glowstone.scheduler
Class PulseTask
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
net.glowstone.scheduler.PulseTask
- All Implemented Interfaces:
Runnable
public class PulseTask
extends org.bukkit.scheduler.BukkitRunnable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
-
Constructor Details
-
PulseTask
Creates a block update task.- Parameters:
block- the block to updateasync- whether to run asynchronouslydelay- the ticks to wait before running the tasksingle- if true, run this task only once; if false, repeat everydelayticks
-
-
Method Details
-
startPulseTask
public void startPulseTask()Schedules this task. -
run
public void run()
-