org.d_haven.event.command

Class DefaultCommandManager.DelayedCommandInfo

public static final class DefaultCommandManager.DelayedCommandInfo extends Object

This class encapsulates the information needed to keep track of our progress executing delayed and repeated commands.
Field Summary
DelayedCommandm_command
The command we are keeping track of.
longm_nextRunTime
The next time this command is supposed to execute.
intm_numExecutions
The number of times the command has been run.
booleanm_repeatable
Whether this command is a repeating command or not.
Method Summary
StringtoString()

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.

Method Detail

toString

public String toString()