com.springrts.ai.command
Class SetBaseUnitAICommand

java.lang.Object
  extended by Structure
      extended by com.springrts.ai.AICommand
          extended by com.springrts.ai.command.SetBaseUnitAICommand

public final class SetBaseUnitAICommand
extends AICommand

max command execution-time in frames; if it takes longer then this -> abort


Nested Class Summary
 
Nested classes/interfaces inherited from class com.springrts.ai.AICommand
AICommand.Option
 
Field Summary
 AIFloat3 basePos
           
 int groupId
           
 int options
           
 int timeOut
           
static int TOPIC
           
 int unitId
           
 
Constructor Summary
SetBaseUnitAICommand()
           
SetBaseUnitAICommand(int unitId, int groupId, int options, int timeOut, AIFloat3 basePos)
           
SetBaseUnitAICommand(Pointer memory)
           
SetBaseUnitAICommand(Unit unit, int groupId, List<AICommand.Option> optionsList, int timeOut, AIFloat3 basePos)
           
 
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

basePos

public AIFloat3 basePos
Constructor Detail

SetBaseUnitAICommand

public SetBaseUnitAICommand()

SetBaseUnitAICommand

public SetBaseUnitAICommand(Pointer memory)

SetBaseUnitAICommand

public SetBaseUnitAICommand(int unitId,
                            int groupId,
                            int options,
                            int timeOut,
                            AIFloat3 basePos)

SetBaseUnitAICommand

public SetBaseUnitAICommand(Unit unit,
                            int groupId,
                            List<AICommand.Option> optionsList,
                            int timeOut,
                            AIFloat3 basePos)
Method Detail

getTopic

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