com.springrts.ai.event
Class EnemyDestroyedAIEvent

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

public final class EnemyDestroyedAIEvent
extends AIEvent

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


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

enemy

public int enemy

attacker

public int attacker
Constructor Detail

EnemyDestroyedAIEvent

public EnemyDestroyedAIEvent(Pointer memory)
Method Detail

getTopic

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