org.d_haven.event.command
Class DefaultCommandManager.DelayedCommandInfo

java.lang.Object
  extended by org.d_haven.event.command.DefaultCommandManager.DelayedCommandInfo
Enclosing class:
DefaultCommandManager

public static final class DefaultCommandManager.DelayedCommandInfo
extends java.lang.Object

This class encapsulates the information needed to keep track of our progress executing delayed and repeated commands.


Field Summary
 DelayedCommand m_command
          The command we are keeping track of.
 long m_nextRunTime
          The next time this command is supposed to execute.
 int m_numExecutions
          The number of times the command has been run.
 boolean m_repeatable
          Whether this command is a repeating command or not.
 
Constructor Summary
DefaultCommandManager.DelayedCommandInfo()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_command

public DelayedCommand m_command
The command we are keeping track of.


m_nextRunTime

public long m_nextRunTime
The next time this command is supposed to execute.


m_numExecutions

public int m_numExecutions
The number of times the command has been run.


m_repeatable

public boolean m_repeatable
Whether this command is a repeating command or not.

Constructor Detail

DefaultCommandManager.DelayedCommandInfo

public DefaultCommandManager.DelayedCommandInfo()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object