|
||||||||||
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
public abstract class NationType
Represents one of the nations present in the game.
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
NationType(int index)
Sole constructor. |
Method Summary | |
---|---|
int |
getCapitalRadius()
Get the CapitalRadius value. |
int |
getSettlementRadius()
Get the SettlementRadius value. |
abstract boolean |
isEuropean()
Whether this is a EuropeanNation, i.e. |
abstract boolean |
isREF()
Whether this is a EuropeanREFNation. |
void |
setCapitalRadius(int newCapitalRadius)
Set the CapitalRadius value. |
void |
setSettlementRadius(int newSettlementRadius)
Set the SettlementRadius value. |
Methods inherited from class net.sf.freecol.common.model.FreeColGameObjectType |
---|
addAbility, addModifier, getFeatureContainer, getIndex, getModifierSet, hasAbility, hasAbility, readChildren, readFromXML, setFeatureContainer, setIndex, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NationType(int index)
Method Detail |
---|
public abstract boolean isEuropean()
public abstract boolean isREF()
public final int getSettlementRadius()
SettlementRadius
value.
int
valuepublic final void setSettlementRadius(int newSettlementRadius)
SettlementRadius
value.
newSettlementRadius
- The new SettlementRadius value.public final int getCapitalRadius()
CapitalRadius
value.
int
valuepublic final void setCapitalRadius(int newCapitalRadius)
CapitalRadius
value.
newCapitalRadius
- The new CapitalRadius value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |