com.springrts.ai.command
Class DGunUnitAICommand

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

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

toAttackUnitId

public int toAttackUnitId
Constructor Detail

DGunUnitAICommand

public DGunUnitAICommand()

DGunUnitAICommand

public DGunUnitAICommand(Pointer memory)

DGunUnitAICommand

public DGunUnitAICommand(int unitId,
                         int groupId,
                         int options,
                         int timeOut,
                         int toAttackUnitId)

DGunUnitAICommand

public DGunUnitAICommand(Unit unit,
                         int groupId,
                         List<AICommand.Option> optionsList,
                         int timeOut,
                         Unit toAttackUnit)
Method Detail

getTopic

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