com.springrts.ai.oo
Class ClbGroupSupportedCommandImpl

java.lang.Object
  extended by com.springrts.ai.oo.ClbGroupSupportedCommandImpl
All Implemented Interfaces:
SupportedCommand, Comparable<ClbGroupSupportedCommandImpl>

public class ClbGroupSupportedCommandImpl
extends Object
implements SupportedCommand, Comparable<ClbGroupSupportedCommandImpl>


Method Summary
 int compareTo(ClbGroupSupportedCommandImpl other)
           
 boolean equals(Object otherObject)
           
 int getGroupId()
           
 int getId(int commandId)
          For the id, see CMD_xxx codes in Sim/Unit/CommandAI/Command.h (custom codes can also be used)
 String getName(int commandId)
           
 List<String> getParams(int commandId)
           
 String getToolTip(int commandId)
           
 int hashCode()
           
 boolean isDisabled(int commandId)
           
 boolean isShowUnique(int commandId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getGroupId

public int getGroupId()

compareTo

public int compareTo(ClbGroupSupportedCommandImpl other)
Specified by:
compareTo in interface Comparable<ClbGroupSupportedCommandImpl>

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