public class Countdown
extends java.lang.Object
| Constructor and Description |
|---|
Countdown(long time,
java.lang.String name,
long interval,
boolean intervalToSeconds,
org.bukkit.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
void |
setCancelled(boolean cancel) |
void |
start() |
public Countdown(long time,
java.lang.String name,
long interval,
boolean intervalToSeconds,
org.bukkit.plugin.Plugin plugin)
time - the amount of ticks this timer will run before calling the TimerEndEventname - the name of this countdowninterval - the time between ticks in ticksintervalToSeconds - whether to convert the interval to seconds(essentially interval * 20)plugin - the plugin that created this countdown instance