com.springrts.ai.command
Class GiveMeNewUnitCheatAICommand

java.lang.Object
  extended by Structure
      extended by com.springrts.ai.AICommand
          extended by com.springrts.ai.command.GiveMeNewUnitCheatAICommand

public final class GiveMeNewUnitCheatAICommand
extends AICommand

Creates a new unit with the selected name at pos, and returns its unit ID in ret_newUnitId.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.springrts.ai.AICommand
AICommand.Option
 
Field Summary
 AIFloat3 pos
           
 int ret_newUnitId
           
static int TOPIC
           
 int unitDefId
           
 
Constructor Summary
GiveMeNewUnitCheatAICommand()
           
GiveMeNewUnitCheatAICommand(int unitDefId, AIFloat3 pos, int ret_newUnitId)
           
GiveMeNewUnitCheatAICommand(Pointer memory)
           
GiveMeNewUnitCheatAICommand(UnitDef unitDef, AIFloat3 pos, Unit ret_newUnit)
           
 
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

unitDefId

public int unitDefId

pos

public AIFloat3 pos

ret_newUnitId

public int ret_newUnitId
Constructor Detail

GiveMeNewUnitCheatAICommand

public GiveMeNewUnitCheatAICommand()

GiveMeNewUnitCheatAICommand

public GiveMeNewUnitCheatAICommand(Pointer memory)

GiveMeNewUnitCheatAICommand

public GiveMeNewUnitCheatAICommand(int unitDefId,
                                   AIFloat3 pos,
                                   int ret_newUnitId)

GiveMeNewUnitCheatAICommand

public GiveMeNewUnitCheatAICommand(UnitDef unitDef,
                                   AIFloat3 pos,
                                   Unit ret_newUnit)
Method Detail

getTopic

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