com.springrts.ai.oo
Class CurrentCommand
java.lang.Object
com.springrts.ai.oo.CurrentCommand
- All Implemented Interfaces:
- Comparable<CurrentCommand>
public class CurrentCommand
- extends Object
- implements Comparable<CurrentCommand>
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()