com.springrts.ai.event
Class UnitDestroyedAIEvent

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

public final class UnitDestroyedAIEvent
extends AIEvent

This AI event is sent when a unit was destroyed; see also the unit-damaged event. attacker may be 0, which means no attacker was directly involveld.


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

attacker

public int attacker
Constructor Detail

UnitDestroyedAIEvent

public UnitDestroyedAIEvent(Pointer memory)
Method Detail

getTopic

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