com.springrts.ai.command
Class SetRepeatUnitAICommand

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

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

repeat

public boolean repeat
Constructor Detail

SetRepeatUnitAICommand

public SetRepeatUnitAICommand()

SetRepeatUnitAICommand

public SetRepeatUnitAICommand(Pointer memory)

SetRepeatUnitAICommand

public SetRepeatUnitAICommand(int unitId,
                              int groupId,
                              int options,
                              int timeOut,
                              boolean repeat)

SetRepeatUnitAICommand

public SetRepeatUnitAICommand(Unit unit,
                              int groupId,
                              List<AICommand.Option> optionsList,
                              int timeOut,
                              boolean repeat)
Method Detail

getTopic

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