|
||||||||||
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.NationType
net.sf.freecol.common.model.EuropeanNationType
public class EuropeanNationType
Represents one of the European nations present in the game, i.e. both REFs and possible human players.
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
EuropeanNationType(int index)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getEuropeName()
Returns the name of this Nation's Home Port. |
java.lang.String |
getREFName()
Returns the name of this Nation's REF. |
java.util.List<AbstractUnit> |
getStartingUnits()
Returns a list of this Nation's starting units. |
boolean |
isEuropean()
Returns true. |
boolean |
isREF()
Get the REF value. |
void |
readAttributes(javax.xml.stream.XMLStreamReader in,
Specification specification)
|
void |
readChildren(javax.xml.stream.XMLStreamReader in,
Specification specification)
|
void |
setREF(boolean newREF)
Set the REF value. |
Methods inherited from class net.sf.freecol.common.model.NationType |
---|
getCapitalRadius, getSettlementRadius, setCapitalRadius, setSettlementRadius |
Methods inherited from class net.sf.freecol.common.model.FreeColGameObjectType |
---|
addAbility, addModifier, getFeatureContainer, getIndex, getModifierSet, hasAbility, hasAbility, readFromXML, setFeatureContainer, setIndex, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EuropeanNationType(int index)
Method Detail |
---|
public java.lang.String getEuropeName()
String
valuepublic java.lang.String getREFName()
String
valuepublic final boolean isREF()
REF
value.
isREF
in class NationType
boolean
valuepublic final void setREF(boolean newREF)
REF
value.
newREF
- The new REF value.public boolean isEuropean()
isEuropean
in class NationType
boolean
valuepublic java.util.List<AbstractUnit> getStartingUnits()
public void readAttributes(javax.xml.stream.XMLStreamReader in, Specification specification) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void readChildren(javax.xml.stream.XMLStreamReader in, Specification specification) throws javax.xml.stream.XMLStreamException
readChildren
in class FreeColGameObjectType
javax.xml.stream.XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |