com.springrts.ai.event
Class UnitMoveFailedAIEvent
java.lang.Object
Structure
com.springrts.ai.AIEvent
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOPIC
public static final int TOPIC
- See Also:
- Constant Field Values
unit
public int unit
UnitMoveFailedAIEvent
public UnitMoveFailedAIEvent(Pointer memory)
getTopic
public int getTopic()
- Specified by:
getTopic
in class AIEvent