cpw.mods.fml.common.registry
Class TickRegistry.TickQueueElement

java.lang.Object
  extended by cpw.mods.fml.common.registry.TickRegistry.TickQueueElement
All Implemented Interfaces:
Comparable<TickRegistry.TickQueueElement>
Enclosing class:
TickRegistry

public static class TickRegistry.TickQueueElement
extends Object
implements Comparable<TickRegistry.TickQueueElement>

We register our delegate here


Field Summary
 IScheduledTickHandler ticker
           
 
Constructor Summary
TickRegistry.TickQueueElement(IScheduledTickHandler ticker, long tickCounter)
           
 
Method Summary
 int compareTo(TickRegistry.TickQueueElement o)
           
 boolean scheduledNow(long tickCounter)
           
 void update(long tickCounter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ticker

public IScheduledTickHandler ticker
Constructor Detail

TickRegistry.TickQueueElement

public TickRegistry.TickQueueElement(IScheduledTickHandler ticker,
                                     long tickCounter)
Method Detail

compareTo

public int compareTo(TickRegistry.TickQueueElement o)
Specified by:
compareTo in interface Comparable<TickRegistry.TickQueueElement>

update

public void update(long tickCounter)

scheduledNow

public boolean scheduledNow(long tickCounter)