com.springrts.ai.event
Class UnitCapturedAIEvent

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

public final class UnitCapturedAIEvent
extends AIEvent

This AI event is sent when a unit changed from one team to an other through capturing.


Field Summary
 int newTeamId
           
 int oldTeamId
           
static int TOPIC
           
 int unitId
           
 
Constructor Summary
UnitCapturedAIEvent(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

unitId

public int unitId

oldTeamId

public int oldTeamId

newTeamId

public int newTeamId
Constructor Detail

UnitCapturedAIEvent

public UnitCapturedAIEvent(Pointer memory)
Method Detail

getTopic

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