com.springrts.ai.event
Class UnitMoveFailedAIEvent

java.lang.Object
  extended by Structure
      extended by com.springrts.ai.AIEvent
          extended by com.springrts.ai.event.UnitMoveFailedAIEvent

public final class UnitMoveFailedAIEvent
extends AIEvent

This AI event is sent when a unit received a move command and is not able to fullfill it. Reasons for this are: - The unit is not able to move - The path to the target location is blocked - The unit can not move on the terain of the target location (for example, the target is on land, and the unit is a ship)


Field Summary
static int TOPIC
           
 int unit
           
 
Constructor Summary
UnitMoveFailedAIEvent(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

unit

public int unit
Constructor Detail

UnitMoveFailedAIEvent

public UnitMoveFailedAIEvent(Pointer memory)
Method Detail

getTopic

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