|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.common.model.FreeColObject
net.sf.freecol.common.model.FreeColGameObjectType
net.sf.freecol.common.model.DifficultyLevel
public class DifficultyLevel
Represents a difficulty level.
| Field Summary | |
|---|---|
private java.util.Map<java.lang.String,AbstractOption> |
levelOptions
|
| Fields inherited from class net.sf.freecol.common.model.FreeColGameObjectType |
|---|
featureContainer |
| Fields inherited from class net.sf.freecol.common.model.FreeColObject |
|---|
ARRAY_SIZE, ID_ATTRIBUTE, ID_ATTRIBUTE_TAG, logger, PARTIAL_ATTRIBUTE |
| Constructor Summary | |
|---|---|
DifficultyLevel(int index)
|
|
| Method Summary | |
|---|---|
AbstractOption |
getOption(java.lang.String Id)
|
java.util.Map<java.lang.String,AbstractOption> |
getOptions()
|
void |
readFromXML(javax.xml.stream.XMLStreamReader in,
Specification specification)
|
| Methods inherited from class net.sf.freecol.common.model.FreeColGameObjectType |
|---|
addAbility, addModifier, getFeatureContainer, getIndex, getModifierSet, hasAbility, hasAbility, readAttributes, readChild, readChildren, readFromXMLImpl, setFeatureContainer, setIndex, toString, toXMLImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.util.Map<java.lang.String,AbstractOption> levelOptions
| Constructor Detail |
|---|
public DifficultyLevel(int index)
| Method Detail |
|---|
public AbstractOption getOption(java.lang.String Id)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.util.Map<java.lang.String,AbstractOption> getOptions()
public void readFromXML(javax.xml.stream.XMLStreamReader in,
Specification specification)
throws javax.xml.stream.XMLStreamException
readFromXML in class FreeColGameObjectTypejavax.xml.stream.XMLStreamException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||