CMRunnable, java.lang.RunnableStdTickGrouppublic interface TickableGroup extends CMRunnable
Tickable, 
Tickable.tick(Tickable, int)| Modifier and Type | Interface | Description | 
|---|---|---|
| static class  | TickableGroup.LocalType | The types of objects to clear during a clearDebri call | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addTicker(TickClient C) | Adds another ticking object to this group | 
| boolean | contains(Tickable T,
        int tickID) | Returns true if this group contains the given ticking object with
 the given tickID. | 
| boolean | delTicker(TickClient C) | Removes the given ticking object from this group | 
| TickClient | fetchTickerByIndex(int i) | Returns the tickclient at the given index from 0 to numTickers | 
| java.lang.Thread | getCurrentThread() | If this group is currently getting thread time, this will
 return a reference to that thread object, or null otherwise. | 
| long | getLastStartTime() | Returns the time, in ms, that this object last ticked. | 
| long | getLastStopTime() | Returns the time, in ms, that this object last stopped ticking. | 
| TickClient | getLastTicked() | Returns the current or last TickClient object which this thread made a tick(Tickable,int) method
 call to. | 
| java.util.Iterator<TickClient> | getLocalItems(TickableGroup.LocalType itemTypes,
             Room R) | Returns an iterator of all the items of the given type in the given room. | 
| long | getMilliTotal() | Returns the number of ms that this object has ticked in total | 
| java.lang.String | getName() | Returns the name of this group | 
| long | getNextTickTime() | Returns the next time, in ms, when this group should tick. | 
| java.lang.String | getStatus() | Returns the displayable status of this ticking object | 
| java.lang.String | getThreadGroupName() | Returns the name of the thread group that this ticking group
 belongs to (and thus, under which it should run later) | 
| long | getTickInterval() | Returns the amount of time, in ms, between calls to this group | 
| java.util.Iterator<TickClient> | getTickSet(Tickable T,
          int tickID) | Returns an iterator of all clients matching the given criteria | 
| long | getTickTotal() | Returns the number of times that this object has ticked in total | 
| boolean | isAwake() | Returns true if this group currently is getting thread time | 
| boolean | isSolitaryTicker() | Returns whether this group is only permitted a single object | 
| int | numTickers() | Returns the number of ticking objects in this group | 
| void | shutdown() | Orders this group to do any necessary cleanup before going away. | 
| java.util.Iterator<TickClient> | tickers() | Returns an iterator of all the ticking objects | 
activeTimeMillis, getGroupID, getStartTimeTickClient getLastTicked()
Tickable, 
Tickable.tick(Tickable, int)java.lang.String getName()
long getTickInterval()
long getNextTickTime()
void shutdown()
void addTicker(TickClient C)
C - the client to addTickClientboolean delTicker(TickClient C)
C - the client to removeTickClientjava.util.Iterator<TickClient> tickers()
int numTickers()
java.util.Iterator<TickClient> getTickSet(Tickable T, int tickID)
T - the tickable object to look fortickID - the tickid to match, or -1 for alljava.util.Iterator<TickClient> getLocalItems(TickableGroup.LocalType itemTypes, Room R)
itemTypes - 0=mobs or items, 1=items, 2=mobsR - the room to look inboolean contains(Tickable T, int tickID)
T - the tickable objecttickID - the tickid to match, or -1 for anyTickClient fetchTickerByIndex(int i)
i - the indexnumTickers()java.lang.String getStatus()
long getLastStartTime()
long getLastStopTime()
long getMilliTotal()
long getTickTotal()
boolean isSolitaryTicker()
boolean isAwake()
java.lang.String getThreadGroupName()
java.lang.Thread getCurrentThread()