public abstract class SpiralTask
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
SpiralTask(FLocation fLocation,
int radius) |
Modifier and Type | Method and Description |
---|---|
FLocation |
currentFLocation() |
org.bukkit.Location |
currentLocation() |
void |
finish() |
int |
getX() |
int |
getZ() |
boolean |
insideRadius() |
boolean |
moveToNext() |
void |
run() |
void |
setTaskID(int ID) |
void |
stop() |
boolean |
valid() |
abstract boolean |
work() |
public SpiralTask(FLocation fLocation, int radius)
public abstract boolean work()
public final FLocation currentFLocation()
public final org.bukkit.Location currentLocation()
public final int getX()
public final int getZ()
public final void setTaskID(int ID)
public final void run()
run
in interface java.lang.Runnable
public final boolean moveToNext()
public final boolean insideRadius()
public void finish()
public final void stop()
public final boolean valid()