com.springrts.ai.command
Class CustomUnitAICommand
java.lang.Object
Structure
com.springrts.ai.AICommand
com.springrts.ai.command.CustomUnitAICommand
public final class CustomUnitAICommand
- extends AICommand
max command execution-time in frames; if it takes longer then this -> abort
Constructor Summary |
CustomUnitAICommand()
|
CustomUnitAICommand(int unitId,
int groupId,
int options,
int timeOut,
int cmdId,
float[] params,
int numParams)
|
CustomUnitAICommand(Pointer memory)
|
CustomUnitAICommand(Unit unit,
int groupId,
List<AICommand.Option> optionsList,
int timeOut,
int cmdId,
float[] params,
int numParams)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOPIC
public static final int TOPIC
- See Also:
- Constant Field Values
unitId
public int unitId
groupId
public int groupId
options
public int options
timeOut
public int timeOut
cmdId
public int cmdId
params
public float[] params
numParams
public int numParams
CustomUnitAICommand
public CustomUnitAICommand()
CustomUnitAICommand
public CustomUnitAICommand(Pointer memory)
CustomUnitAICommand
public CustomUnitAICommand(int unitId,
int groupId,
int options,
int timeOut,
int cmdId,
float[] params,
int numParams)
CustomUnitAICommand
public CustomUnitAICommand(Unit unit,
int groupId,
List<AICommand.Option> optionsList,
int timeOut,
int cmdId,
float[] params,
int numParams)
getTopic
public int getTopic()
- Specified by:
getTopic
in class AICommand