com.springrts.ai.oo
Class ClbGroupSupportedCommandImpl
java.lang.Object
com.springrts.ai.oo.ClbGroupSupportedCommandImpl
- All Implemented Interfaces:
- SupportedCommand, Comparable<ClbGroupSupportedCommandImpl>
public class ClbGroupSupportedCommandImpl
- extends Object
- implements SupportedCommand, Comparable<ClbGroupSupportedCommandImpl>
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