com.springrts.ai.event
Class UnitCreatedAIEvent
java.lang.Object
Structure
com.springrts.ai.AIEvent
com.springrts.ai.event.UnitCreatedAIEvent
public final class UnitCreatedAIEvent
- extends AIEvent
This AI event is sent whenever a unit of this team is created, and contains
the created unit. Usually, the unit has only 1 HP at this time, and consists
only of a nano frame (-> will not accept commands yet);
see also the unit-finnished event.
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
builder
public int builder
UnitCreatedAIEvent
public UnitCreatedAIEvent(Pointer memory)
getTopic
public int getTopic()
- Specified by:
getTopic
in class AIEvent