Package me.bimmr.bimmcore.utils.timed
Class TimedObject
- java.lang.Object
-
- me.bimmr.bimmcore.utils.timed.TimedObject
-
- Direct Known Subclasses:
Board,BoardLine,Hologram,HologramLine,MessageDisplay
public abstract class TimedObject extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description TimedEventtimedEvent
-
Constructor Summary
Constructors Constructor Description TimedObject()
-
Method Summary
Modifier and Type Method Description TimedEventgetTimedEvent()booleanisTaskRunning()voidonTaskRun(long time)voidsetTimedEvent(TimedEvent timedEvent)voidsetTimedEvent(TimedEvent timedEvent, boolean autoStart)voidsetTimedEvent(Timed timed, int time)voidsetTimedEvent(Timed timed, int time, boolean autoStart)voidstartTask()voidstopTask()
-
-
-
Field Detail
-
timedEvent
public TimedEvent timedEvent
-
-
Method Detail
-
getTimedEvent
public TimedEvent getTimedEvent()
-
setTimedEvent
public void setTimedEvent(Timed timed, int time)
-
setTimedEvent
public void setTimedEvent(Timed timed, int time, boolean autoStart)
-
setTimedEvent
public void setTimedEvent(TimedEvent timedEvent)
-
setTimedEvent
public void setTimedEvent(TimedEvent timedEvent, boolean autoStart)
-
startTask
public void startTask()
-
onTaskRun
public void onTaskRun(long time)
-
stopTask
public void stopTask()
-
isTaskRunning
public boolean isTaskRunning()
-
-