com.springrts.ai.command
Class GetApproximateLengthPathAICommand

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

public final class GetApproximateLengthPathAICommand
extends AICommand

Returns the approximate path cost between two points This needs to calculate the complete path, so it is somewhat expensive. NOTE: currently disabled, always returns 0


Nested Class Summary
 
Nested classes/interfaces inherited from class com.springrts.ai.AICommand
AICommand.Option
 
Field Summary
 AIFloat3 end
           
 int pathType
           
 int ret_approximatePathLength
           
 AIFloat3 start
           
static int TOPIC
           
 
Constructor Summary
GetApproximateLengthPathAICommand()
           
GetApproximateLengthPathAICommand(AIFloat3 start, AIFloat3 end, int pathType, int ret_approximatePathLength)
           
GetApproximateLengthPathAICommand(Pointer memory)
           
 
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

start

public AIFloat3 start

end

public AIFloat3 end

pathType

public int pathType

ret_approximatePathLength

public int ret_approximatePathLength
Constructor Detail

GetApproximateLengthPathAICommand

public GetApproximateLengthPathAICommand()

GetApproximateLengthPathAICommand

public GetApproximateLengthPathAICommand(Pointer memory)

GetApproximateLengthPathAICommand

public GetApproximateLengthPathAICommand(AIFloat3 start,
                                         AIFloat3 end,
                                         int pathType,
                                         int ret_approximatePathLength)
Method Detail

getTopic

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