com.springrts.ai.oo
Class ClbUnitSupportedCommandImpl
java.lang.Object
  
com.springrts.ai.oo.ClbUnitSupportedCommandImpl
- All Implemented Interfaces: 
 - SupportedCommand, Comparable<ClbUnitSupportedCommandImpl>
 
public class ClbUnitSupportedCommandImpl
- extends Object
- implements SupportedCommand, Comparable<ClbUnitSupportedCommandImpl>
  
 
 
getUnitId
public int getUnitId()
 
 
compareTo
public int compareTo(ClbUnitSupportedCommandImpl other)
- Specified by:
 compareTo in interface Comparable<ClbUnitSupportedCommandImpl>
 
 
equals
public boolean equals(Object otherObject)
- Overrides:
 equals in class Object
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
getId
public int getId(int commandId)
- For the id, see CMD_xxx codes in Sim/Unit/CommandAI/Command.h
 (custom codes can also be used)
- Specified by:
 getId in interface SupportedCommand
 
 
 
getName
public String getName(int commandId)
- Specified by:
 getName in interface SupportedCommand
 
 
getToolTip
public String getToolTip(int commandId)
- Specified by:
 getToolTip in interface SupportedCommand
 
 
isShowUnique
public boolean isShowUnique(int commandId)
- Specified by:
 isShowUnique in interface SupportedCommand
 
 
isDisabled
public boolean isDisabled(int commandId)
- Specified by:
 isDisabled in interface SupportedCommand
 
 
getParams
public List<String> getParams(int commandId)
- Specified by:
 getParams in interface SupportedCommand