com.springrts.ai.command
Class AddUnitToGroupAICommand
java.lang.Object
Structure
com.springrts.ai.AICommand
com.springrts.ai.command.AddUnitToGroupAICommand
public final class AddUnitToGroupAICommand
- extends AICommand
Adds a unit to a specific group.
If it was previously in a group, it is removed from that.
Returns false if the group did not exist or did not accept the unit.
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
groupId
public int groupId
unitId
public int unitId
ret_isExecuted
public boolean ret_isExecuted
AddUnitToGroupAICommand
public AddUnitToGroupAICommand()
AddUnitToGroupAICommand
public AddUnitToGroupAICommand(Pointer memory)
AddUnitToGroupAICommand
public AddUnitToGroupAICommand(int groupId,
int unitId,
boolean ret_isExecuted)
AddUnitToGroupAICommand
public AddUnitToGroupAICommand(int groupId,
Unit unit,
boolean ret_isExecuted)
getTopic
public int getTopic()
- Specified by:
getTopic
in class AICommand