|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FreeColGameObject | |
---|---|
net.sf.freecol.common.model | Contains the game model. |
net.sf.freecol.common.networking | Contains the common networking classes. |
net.sf.freecol.server.ai | The main package of the ai package tree. |
net.sf.freecol.server.control | Contains the classes responsible for the control of the game. |
net.sf.freecol.server.model | Contains model classes with server specific information. |
Uses of FreeColGameObject in net.sf.freecol.common.model |
---|
Subclasses of FreeColGameObject in net.sf.freecol.common.model | |
---|---|
class |
Building
Represents a building in a colony. |
class |
Colony
Represents a colony. |
class |
ColonyTile
Represents a work location on a tile. |
class |
Europe
Represents Europe in the game. |
class |
Game
The main component of the game model. |
class |
GoodsContainer
Contains goods and can be used by a Location to make certain
tasks easier. |
class |
IndianSettlement
Represents an Indian settlement. |
class |
LostCityRumour
Represents a lost city rumour. |
class |
Map
An isometric map. |
class |
Market
This class implements a simple economic model whereby a market holds all goods that have been sold and the price of a particular type of good is determined solely by its availability in that market. |
class |
Monarch
This class implements the player's monarch, whose functions prior to the revolution include raising taxes, declaring war on other European countries, and occasionally providing military support. |
class |
Player
Represents a player. |
class |
PlayerExploredTile
This class contains the mutable tile data visible to a specific player. |
class |
Region
A named region on the map. |
class |
Resource
Represents a locatable goods of a specified type and quantity. |
class |
Settlement
The super class of all settlements on the map (that is colonies and indian settlements). |
class |
Tile
Represents a single tile on the Map . |
class |
TileImprovement
Represents a tile improvement, such as a river or road. |
class |
TileItem
Represents a TileItem item on a Tile . |
class |
TileItemContainer
Contains TileItem s and can be used by a Tile
to make certain tasks easier. |
class |
TradeRoute
A TradeRoute holds all information for a unit to follow along a trade route. |
class |
Unit
Represents all pieces that can be moved on the map-board. |
Methods in net.sf.freecol.common.model with type parameters of type FreeColGameObject | ||
---|---|---|
|
FreeColGameObject.getFreeColGameObject(javax.xml.stream.XMLStreamReader in,
java.lang.String attributeName,
java.lang.Class<T> returnClass)
|
|
|
FreeColGameObject.getFreeColGameObject(javax.xml.stream.XMLStreamReader in,
java.lang.String attributeName,
java.lang.Class<T> returnClass,
T defaultValue)
|
|
|
FreeColGameObject.updateFreeColGameObject(javax.xml.stream.XMLStreamReader in,
java.lang.Class<T> returnClass)
|
Methods in net.sf.freecol.common.model that return FreeColGameObject | |
---|---|
FreeColGameObject |
Game.getFreeColGameObject(java.lang.String id)
Gets the FreeColGameObject with the specified ID. |
FreeColGameObject |
Game.getFreeColGameObjectSafely(java.lang.String id)
Get the FreeColGameObject with the given id or null. |
FreeColGameObject |
ModelMessage.getSource()
Gets the source of the message. |
FreeColGameObject |
Game.removeFreeColGameObject(java.lang.String id)
Removes the FreeColGameObject with the specified ID. |
Methods in net.sf.freecol.common.model that return types with arguments of type FreeColGameObject | |
---|---|
java.util.Iterator<FreeColGameObject> |
Game.getFreeColGameObjectIterator()
Gets an Iterator of every registered
FreeColGameObject . |
java.util.List<FreeColGameObject> |
UnitTradeItem.makeTrade()
Concludes the trade. |
abstract java.util.List<FreeColGameObject> |
TradeItem.makeTrade()
Concludes the trade. |
java.util.List<FreeColGameObject> |
StanceTradeItem.makeTrade()
Concludes the trade. |
java.util.List<FreeColGameObject> |
GoodsTradeItem.makeTrade()
Concludes the trade. |
java.util.List<FreeColGameObject> |
GoldTradeItem.makeTrade()
Concludes the trade. |
java.util.List<FreeColGameObject> |
DiplomaticTrade.makeTrade()
Calls the makeTrade method of all TradeItems. |
java.util.List<FreeColGameObject> |
ColonyTradeItem.makeTrade()
Concludes the trade. |
Methods in net.sf.freecol.common.model with parameters of type FreeColGameObject | |
---|---|
void |
Player.divertModelMessages(FreeColGameObject source,
FreeColGameObject newSource)
Sometimes an event causes the source (and display) fields in an accumulated model message to become invalid (e.g. |
boolean |
FreeColGameObject.equals(FreeColGameObject o)
Checks if the given FreeColGameObject equals this object. |
void |
FreeColGameObjectListener.ownerChanged(FreeColGameObject source,
Player oldOwner,
Player newOwner)
|
void |
ModelMessage.setDisplay(FreeColGameObject newDisplay)
Sets the Object to display. |
void |
Game.setFreeColGameObject(java.lang.String id,
FreeColGameObject freeColGameObject)
Registers a new FreeColGameObject with the specified ID. |
void |
FreeColGameObjectListener.setFreeColGameObject(java.lang.String id,
FreeColGameObject freeColGameObject)
|
void |
ModelMessage.setSource(FreeColGameObject newSource)
Sets the source of the message. |
void |
FreeColObject.writeFreeColGameObject(FreeColGameObject object,
javax.xml.stream.XMLStreamWriter out,
Player player,
boolean showAll,
boolean toSavedGame)
|
Constructors in net.sf.freecol.common.model with parameters of type FreeColGameObject | |
---|---|
ModelMessage(FreeColGameObject source,
ModelMessage.MessageType type,
FreeColObject display,
java.lang.String id,
java.lang.String... data)
Creates a new ModelMessage . |
|
ModelMessage(FreeColGameObject source,
java.lang.String id,
java.lang.String[][] data)
Creates a new ModelMessage . |
|
ModelMessage(FreeColGameObject source,
java.lang.String id,
java.lang.String[][] data,
ModelMessage.MessageType type)
Creates a new ModelMessage . |
|
ModelMessage(FreeColGameObject source,
java.lang.String id,
java.lang.String[][] data,
ModelMessage.MessageType type,
FreeColObject display)
Deprecated. |
Uses of FreeColGameObject in net.sf.freecol.common.networking |
---|
Constructors in net.sf.freecol.common.networking with parameters of type FreeColGameObject | |
---|---|
RenameMessage(FreeColGameObject object,
java.lang.String newName)
Create a new RenameMessage with the
supplied name. |
Uses of FreeColGameObject in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return FreeColGameObject | |
---|---|
FreeColGameObject |
AIMain.getFreeColGameObject(java.lang.String id)
Gets the FreeColGameObject with the given ID. |
Methods in net.sf.freecol.server.ai with parameters of type FreeColGameObject | |
---|---|
AIObject |
AIMain.getAIObject(FreeColGameObject fcgo)
Gets the AIObject for the given
FreeColGameObject . |
void |
AIMain.ownerChanged(FreeColGameObject source,
Player oldOwner,
Player newOwner)
|
void |
AIMain.setFreeColGameObject(java.lang.String id,
FreeColGameObject freeColGameObject)
Creates a new AIObject for a given
FreeColGameObject . |
Uses of FreeColGameObject in net.sf.freecol.server.control |
---|
Methods in net.sf.freecol.server.control with parameters of type FreeColGameObject | |
---|---|
void |
InGameController.sendUpdateToAll(FreeColGameObject obj,
ServerPlayer serverPlayer)
Unconditionally tell all players to update an object, optionally excluding one player. |
Uses of FreeColGameObject in net.sf.freecol.server.model |
---|
Subclasses of FreeColGameObject in net.sf.freecol.server.model | |
---|---|
class |
ServerGame
The main component of the game model. |
class |
ServerPlayer
A Player with additional (server specific) information. |
class |
ServerRegion
|
Constructors in net.sf.freecol.server.model with parameters of type FreeColGameObject | |
---|---|
ServerGame(FreeColGameObjectListener freeColGameObjectListener,
ModelController modelController,
javax.xml.stream.XMLStreamReader in,
FreeColGameObject[] fcgos)
Initiate a new ServerGame with information from a saved game. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |