com.springrts.ai.command
Class AttackAreaUnitAICommand

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

public final class AttackAreaUnitAICommand
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
 int groupId
           
 int options
           
 float radius
           
 int timeOut
           
 AIFloat3 toAttackPos
           
static int TOPIC
           
 int unitId
           
 
Constructor Summary
AttackAreaUnitAICommand()
           
AttackAreaUnitAICommand(int unitId, int groupId, int options, int timeOut, AIFloat3 toAttackPos, float radius)
           
AttackAreaUnitAICommand(Pointer memory)
           
AttackAreaUnitAICommand(Unit unit, int groupId, List<AICommand.Option> optionsList, int timeOut, AIFloat3 toAttackPos, float radius)
           
 
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

toAttackPos

public AIFloat3 toAttackPos

radius

public float radius
Constructor Detail

AttackAreaUnitAICommand

public AttackAreaUnitAICommand()

AttackAreaUnitAICommand

public AttackAreaUnitAICommand(Pointer memory)

AttackAreaUnitAICommand

public AttackAreaUnitAICommand(int unitId,
                               int groupId,
                               int options,
                               int timeOut,
                               AIFloat3 toAttackPos,
                               float radius)

AttackAreaUnitAICommand

public AttackAreaUnitAICommand(Unit unit,
                               int groupId,
                               List<AICommand.Option> optionsList,
                               int timeOut,
                               AIFloat3 toAttackPos,
                               float radius)
Method Detail

getTopic

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