com.springrts.ai.command
Class BuildUnitAICommand

java.lang.Object
  extended by Structure
      extended by com.springrts.ai.AICommand
          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.springrts.ai.AICommand
AICommand.Option
 
Field Summary
 AIFloat3 buildPos
           
 int facing
           
 int groupId
           
 int options
           
 int timeOut
           
 int toBuildUnitDefId
           
static int TOPIC
           
 int unitId
           
 
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)
           
 
Method Summary
 int getTopic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

getTopic

public int getTopic()
Specified by:
getTopic in class AICommand