public interface ITickHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
A profiling label for this tick handler
|
void |
tickEnd(java.util.EnumSet<TickType> type,
java.lang.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
|
java.util.EnumSet<TickType> |
ticks()
Returns the list of ticks this tick handler is interested in receiving at the minute
|
void |
tickStart(java.util.EnumSet<TickType> type,
java.lang.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
|
void tickStart(java.util.EnumSet<TickType> type, java.lang.Object... tickData)
type
- tickData
- void tickEnd(java.util.EnumSet<TickType> type, java.lang.Object... tickData)
type
- tickData
- java.util.EnumSet<TickType> ticks()
java.lang.String getLabel()