com.springrts.ai.oo
Class CurrentCommand

java.lang.Object
  extended by com.springrts.ai.oo.CurrentCommand
All Implemented Interfaces:
Comparable<CurrentCommand>

public class CurrentCommand
extends Object
implements Comparable<CurrentCommand>


Method Summary
 int compareTo(CurrentCommand other)
           
 boolean equals(Object otherObject)
           
 int getCommandId()
           
 int getId()
          For the id, see CMD_xxx codes in Sim/Unit/CommandAI/Command.h (custom codes can also be used)
 byte getOptions()
           
 List<Float> getParams()
           
 int getTag()
           
 int getTimeOut()
           
 int getUnitId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getUnitId

public int getUnitId()

getCommandId

public int getCommandId()

compareTo

public int compareTo(CurrentCommand other)
Specified by:
compareTo in interface Comparable<CurrentCommand>

equals

public boolean equals(Object otherObject)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

public int getId()
For the id, see CMD_xxx codes in Sim/Unit/CommandAI/Command.h (custom codes can also be used)


getOptions

public byte getOptions()

getTag

public int getTag()

getTimeOut

public int getTimeOut()

getParams

public List<Float> getParams()