public class SingleIntervalHandler extends Object implements IScheduledTickHandler
| Constructor and Description | 
|---|
SingleIntervalHandler(ITickHandler handler)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getLabel()
A profiling label for this tick handler 
 | 
int | 
nextTickSpacing()
Return the number of actual ticks that will pass
 before your next tick will fire. 
 | 
void | 
tickEnd(EnumSet<TickType> type,
              Object... tickData)
Called at the "end" phase of a tick
 
 Multiple ticks may fire simultaneously- you will only be called once with all the firing ticks 
 | 
EnumSet<TickType> | 
ticks()
Returns the list of ticks this tick handler is interested in receiving at the minute 
 | 
void | 
tickStart(EnumSet<TickType> type,
                  Object... tickData)
Called at the "start" phase of a tick
 
 Multiple ticks may fire simultaneously- you will only be called once with all the firing ticks 
 | 
public SingleIntervalHandler(ITickHandler handler)
public void tickStart(EnumSet<TickType> type, Object... tickData)
ITickHandlertickStart in interface ITickHandlerpublic void tickEnd(EnumSet<TickType> type, Object... tickData)
ITickHandlertickEnd in interface ITickHandlerpublic EnumSet<TickType> ticks()
ITickHandlerticks in interface ITickHandlerpublic String getLabel()
ITickHandlergetLabel in interface ITickHandlerpublic int nextTickSpacing()
IScheduledTickHandlernextTickSpacing in interface IScheduledTickHandler