|
||||||||||
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.FreeColGameObject
net.sf.freecol.common.model.TileItem
net.sf.freecol.common.model.LostCityRumour
public class LostCityRumour
Represents a lost city rumour.
Nested Class Summary | |
---|---|
static class |
LostCityRumour.RumourType
Constants describing types of Lost City Rumours. |
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.model.TileItem |
---|
RESOURCE_ZINDEX, RUMOUR_ZINDEX |
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
LostCityRumour(Game game,
org.w3c.dom.Element e)
Creates a new LostCityRumour instance. |
|
LostCityRumour(Game game,
Tile tile)
Creates a new LostCityRumour instance. |
|
LostCityRumour(Game game,
Tile tile,
LostCityRumour.RumourType type,
java.lang.String name)
Creates a new LostCityRumour instance. |
|
LostCityRumour(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new LostCityRumour instance. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the Name value. |
LostCityRumour.RumourType |
getType()
Get the Type value. |
static java.lang.String |
getXMLElementTagName()
|
int |
getZIndex()
Get the ZIndex value. |
void |
setName(java.lang.String newName)
Set the Name value. |
void |
setType(LostCityRumour.RumourType newType)
Set the Type value. |
Methods inherited from class net.sf.freecol.common.model.TileItem |
---|
dispose, getLocation, getSpaceTaken, getTile, setLocation |
Methods inherited from class net.sf.freecol.common.model.FreeColGameObject |
---|
addToRemoveElement, equals, equals, getFreeColGameObject, getFreeColGameObject, getGame, getGameOptions, getIntegerID, hashCode, hasID, isDisposed, isUninitialized, readFromXML, setGame, setId, toSavedXML, toString, toXML, updateFreeColGameObject, updateID |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LostCityRumour(Game game, Tile tile)
LostCityRumour
instance.
game
- a Game
valuetile
- a Tile
valuepublic LostCityRumour(Game game, Tile tile, LostCityRumour.RumourType type, java.lang.String name)
LostCityRumour
instance.
game
- a Game
valuetile
- a Tile
valuetype
- a RumourType
valuename
- a String
valuepublic LostCityRumour(Game game, javax.xml.stream.XMLStreamReader in) throws javax.xml.stream.XMLStreamException
LostCityRumour
instance.
game
- a Game
valuein
- a XMLStreamReader
value
javax.xml.stream.XMLStreamException
- if an error occurspublic LostCityRumour(Game game, org.w3c.dom.Element e)
LostCityRumour
instance.
game
- a Game
valuee
- an Element
valueMethod Detail |
---|
public final LostCityRumour.RumourType getType()
Type
value.
RumourType
valuepublic final void setType(LostCityRumour.RumourType newType)
Type
value.
newType
- The new Type value.public final java.lang.String getName()
Name
value.
getName
in interface Named
String
valuepublic final void setName(java.lang.String newName)
Name
value.
newName
- The new Name value.public final int getZIndex()
ZIndex
value.
getZIndex
in class TileItem
int
valuepublic static java.lang.String getXMLElementTagName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |