megamek.common.options
Class Quirks

java.lang.Object
  extended by megamek.common.options.AbstractOptions
      extended by megamek.common.options.Quirks
All Implemented Interfaces:
java.io.Serializable, IOptions

public class Quirks
extends AbstractOptions

Contains the options determining quirks of the unit

Author:
Taharqa (Jay Lawson)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class megamek.common.options.AbstractOptions
AbstractOptions.GroupsEnumeration
 
Field Summary
static java.lang.String NEG_QUIRKS
           
static java.lang.String POS_QUIRKS
           
 
Constructor Summary
Quirks()
           
 
Method Summary
protected  AbstractOptionsInfo getOptionsInfoImp()
           
 void initialize()
           
static boolean isQuirkLegalFor(IOption quirk, Entity en)
           
 
Methods inherited from class megamek.common.options.AbstractOptions
addGroup, addGroup, addOption, addOption, addOption, addOption, addOption, addOption, booleanOption, floatOption, getGroups, getOption, getOptionInfo, getOptions, getOptionsInfo, intOption, stringOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POS_QUIRKS

public static final java.lang.String POS_QUIRKS
See Also:
Constant Field Values

NEG_QUIRKS

public static final java.lang.String NEG_QUIRKS
See Also:
Constant Field Values
Constructor Detail

Quirks

public Quirks()
Method Detail

initialize

public void initialize()
Specified by:
initialize in class AbstractOptions

getOptionsInfoImp

protected AbstractOptionsInfo getOptionsInfoImp()
Specified by:
getOptionsInfoImp in class AbstractOptions

isQuirkLegalFor

public static boolean isQuirkLegalFor(IOption quirk,
                                      Entity en)