com.springrts.ai.command
Class BuildUnitAICommand
java.lang.Object
Structure
com.springrts.ai.AICommand
com.springrts.ai.command.BuildUnitAICommand
public final class BuildUnitAICommand
- extends AICommand
set it to UNIT_COMMAND_BUILD_NO_FACING, if you do not want to specify a certain facing
Constructor Summary |
BuildUnitAICommand()
|
BuildUnitAICommand(int unitId,
int groupId,
int options,
int timeOut,
int toBuildUnitDefId,
AIFloat3 buildPos,
int facing)
|
BuildUnitAICommand(Pointer memory)
|
BuildUnitAICommand(Unit unit,
int groupId,
List<AICommand.Option> optionsList,
int timeOut,
UnitDef toBuildUnitDef,
AIFloat3 buildPos,
int facing)
|
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
toBuildUnitDefId
public int toBuildUnitDefId
buildPos
public AIFloat3 buildPos
facing
public int facing
BuildUnitAICommand
public BuildUnitAICommand()
BuildUnitAICommand
public BuildUnitAICommand(Pointer memory)
BuildUnitAICommand
public BuildUnitAICommand(int unitId,
int groupId,
int options,
int timeOut,
int toBuildUnitDefId,
AIFloat3 buildPos,
int facing)
BuildUnitAICommand
public BuildUnitAICommand(Unit unit,
int groupId,
List<AICommand.Option> optionsList,
int timeOut,
UnitDef toBuildUnitDef,
AIFloat3 buildPos,
int facing)
getTopic
public int getTopic()
- Specified by:
getTopic
in class AICommand