|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Game | |
---|---|
net.sf.freecol.client | This is the main client package. |
net.sf.freecol.client.gui | Contains the GUI classes. |
net.sf.freecol.client.gui.panel | Contains the panels and dialogs. |
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.generator | Contains the map generator. |
net.sf.freecol.server.model | Contains model classes with server specific information. |
Uses of Game in net.sf.freecol.client |
---|
Methods in net.sf.freecol.client that return Game | |
---|---|
Game |
FreeColClient.getGame()
Gets the Game that we are currently playing. |
Methods in net.sf.freecol.client with parameters of type Game | |
---|---|
void |
FreeColClient.setGame(Game game)
Sets the Game that we are currently playing. |
Uses of Game in net.sf.freecol.client.gui |
---|
Methods in net.sf.freecol.client.gui with parameters of type Game | |
---|---|
void |
Canvas.showStartGamePanel(Game game,
Player player,
boolean singlePlayerMode)
Displays the StartGamePanel . |
Uses of Game in net.sf.freecol.client.gui.panel |
---|
Methods in net.sf.freecol.client.gui.panel that return Game | |
---|---|
Game |
FreeColPanel.getGame()
Describe getGame method here. |
Methods in net.sf.freecol.client.gui.panel with parameters of type Game | |
---|---|
void |
EuropePanel.initialize(Europe europe,
Game game)
Initialize the data on the window. |
Uses of Game in net.sf.freecol.common.model |
---|
Methods in net.sf.freecol.common.model that return Game | |
---|---|
Game |
TradeItem.getGame()
Get the Game value. |
Game |
Goods.getGame()
Gets the game object this Goods belongs to. |
Game |
FreeColGameObject.getGame()
Gets the game object this FreeColGameObject belongs to. |
Game |
DiplomaticTrade.getGame()
Gets the game object this DiplomaticTrade belongs to. |
Methods in net.sf.freecol.common.model with parameters of type Game | |
---|---|
void |
ModelMessage.readFromXML(javax.xml.stream.XMLStreamReader in,
Game game)
Initialize this object from an XML-representation of this object. |
void |
TradeItem.setGame(Game newGame)
Set the Game value. |
void |
FreeColGameObject.setGame(Game game)
Sets the game object this FreeColGameObject belongs to. |
Constructors in net.sf.freecol.common.model with parameters of type Game | |
---|---|
Building(Game game,
Colony colony,
BuildingType type)
Creates a new Building . |
|
Building(Game game,
org.w3c.dom.Element e)
Initiates a new Building from an XML representation. |
|
Building(Game game,
java.lang.String id)
Initiates a new Building with the given ID. |
|
Building(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Building from an XML representation. |
|
Colony(Game game,
org.w3c.dom.Element e)
Initiates a new Colony from an XML representation. |
|
Colony(Game game,
Player owner,
java.lang.String name,
Tile tile)
Creates a new Colony . |
|
Colony(Game game,
java.lang.String id)
Initiates a new Colony with the given ID. |
|
Colony(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Colony from an XML representation. |
|
ColonyTile(Game game,
Colony colony,
Tile workTile)
Creates a new ColonyTile . |
|
ColonyTile(Game game,
org.w3c.dom.Element e)
Initiates a new Building from an
XML representation. |
|
ColonyTile(Game game,
java.lang.String id)
Initiates a new ColonyTile
with the given ID. |
|
ColonyTile(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Building from an
XML representation. |
|
ColonyTradeItem(Game game,
Player source,
Player destination,
Colony colony)
Creates a new ColonyTradeItem instance. |
|
ColonyTradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new ColonyTradeItem instance. |
|
DiplomaticTrade(Game game,
org.w3c.dom.Element element)
Creates a new DiplomaticTrade instance. |
|
DiplomaticTrade(Game game,
Player sender,
Player recipient)
Creates a new DiplomaticTrade instance. |
|
DiplomaticTrade(Game game,
Player sender,
Player recipient,
java.util.List<TradeItem> items)
Creates a new DiplomaticTrade instance. |
|
Europe(Game game,
org.w3c.dom.Element e)
Initializes this object from an XML-representation of this object. |
|
Europe(Game game,
Player owner)
Creates a new Europe . |
|
Europe(Game game,
java.lang.String id)
Initiates a new Europe with the given ID. |
|
Europe(Game game,
javax.xml.stream.XMLStreamReader in)
Initializes this object from an XML-representation of this object. |
|
FreeColGameObject(Game game)
Creates a new FreeColGameObject with an automatically assigned
ID and registers this object at the specified Game . |
|
FreeColGameObject(Game game,
org.w3c.dom.Element e)
Initiates a new FreeColGameObject from an Element . |
|
FreeColGameObject(Game game,
java.lang.String id)
Initiates a new FreeColGameObject
with the given ID. |
|
FreeColGameObject(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new FreeColGameObject from an Element . |
|
GoldTradeItem(Game game,
Player source,
Player destination,
int gold)
Creates a new GoldTradeItem instance. |
|
GoldTradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new GoldTradeItem instance. |
|
Goods(Game game,
org.w3c.dom.Element e)
Creates a new Goods instance. |
|
Goods(Game game,
Location location,
GoodsType type,
int amount)
Creates a standard Goods -instance given the place where
the goods is. |
|
Goods(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new Goods instance. |
|
GoodsContainer(Game game,
Location parent)
Creates an empty GoodsContainer . |
|
GoodsContainer(Game game,
Location parent,
org.w3c.dom.Element e)
Initiates a new GoodsContainer from an Element . |
|
GoodsContainer(Game game,
Location parent,
javax.xml.stream.XMLStreamReader in)
Initiates a new GoodsContainer from an Element . |
|
GoodsTradeItem(Game game,
Player source,
Player destination,
Goods goods,
Settlement settlement)
Creates a new GoodsTradeItem instance. |
|
GoodsTradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new GoodsTradeItem instance. |
|
IndianSettlement(Game game,
org.w3c.dom.Element e)
Initiates a new IndianSettlement from an Element . |
|
IndianSettlement(Game game,
Player player,
Tile tile,
java.lang.String name,
boolean isCapital,
UnitType learnableSkill,
java.util.Set<Player> isVisited,
Unit missionary)
The constructor to use. |
|
IndianSettlement(Game game,
java.lang.String id)
Initiates a new IndianSettlement
with the given ID. |
|
IndianSettlement(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new IndianSettlement from an Element . |
|
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. |
|
Map(Game game,
java.lang.String id)
Initiates a new Map with the given ID. |
|
Map(Game game,
Tile[][] tiles)
Create a new Map from a collection of tiles. |
|
Map(Game game,
javax.xml.stream.XMLStreamReader in)
Create a new Map from an Element in a
DOM-parsed XML-tree. |
|
Market(Game game,
org.w3c.dom.Element e)
Initiates a new Market from an
XML representation. |
|
Market(Game game,
Player player)
|
|
Market(Game game,
java.lang.String id)
Initiates a new Market with the given ID. |
|
Market(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Market from an
XML representation. |
|
Monarch(Game game,
org.w3c.dom.Element e)
Initiates a new Monarch from an Element
and registers this Monarch at the specified game. |
|
Monarch(Game game,
Player player,
java.lang.String name)
Constructor. |
|
Monarch(Game game,
java.lang.String id)
Initiates a new Monarch
with the given ID. |
|
Monarch(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Monarch from an Element
and registers this Monarch at the specified game. |
|
Player(Game game,
org.w3c.dom.Element e)
Initiates a new Player from an Element and
registers this Player at the specified game. |
|
Player(Game game,
java.lang.String id)
Initiates a new Player with the given ID. |
|
Player(Game game,
java.lang.String name,
boolean admin)
Creates a new Player with specified name. |
|
Player(Game game,
java.lang.String name,
boolean admin,
boolean ai,
Nation nation)
Creates an new AI Player with the specified name. |
|
Player(Game game,
java.lang.String name,
boolean admin,
Nation newNation)
Creates a new (human) Player with specified name. |
|
Player(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Player from an Element and
registers this Player at the specified game. |
|
PlayerExploredTile(Game game,
Player player,
Tile tile)
Creates a new PlayerExploredTile . |
|
PlayerExploredTile(Game game,
javax.xml.stream.XMLStreamReader in)
Initialize this object from an XML-representation of this object. |
|
Region(Game game)
Creates a new Region instance. |
|
Region(Game game,
java.lang.String id)
Creates a new Region instance. |
|
Region(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Region from an XML representation. |
|
Resource(Game game,
org.w3c.dom.Element e)
|
|
Resource(Game game,
Tile tile,
ResourceType type)
Creates a standard Resource -instance. |
|
Resource(Game game,
javax.xml.stream.XMLStreamReader in)
|
|
Settlement(Game game,
org.w3c.dom.Element e)
Initiates a new Settlement from an Element . |
|
Settlement(Game game,
Player owner,
java.lang.String name,
Tile tile)
Creates a new Settlement . |
|
Settlement(Game game,
java.lang.String id)
Initiates a new Settlement
with the given ID. |
|
Settlement(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new Settlement from an Element . |
|
StanceTradeItem(Game game,
Player source,
Player destination,
Player.Stance stance)
Creates a new StanceTradeItem instance. |
|
StanceTradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new StanceTradeItem instance. |
|
Tile(Game game,
org.w3c.dom.Element e)
Initialize this object from an XML-representation of this object. |
|
Tile(Game game,
java.lang.String id)
Initiates a new Tile with the given ID. |
|
Tile(Game game,
TileType type,
int locX,
int locY)
A constructor to use. |
|
Tile(Game game,
javax.xml.stream.XMLStreamReader in)
Initialize this object from an XML-representation of this object. |
|
TileImprovement(Game game,
org.w3c.dom.Element e)
|
|
TileImprovement(Game game,
java.lang.String id)
Initiates a new TileImprovement with the given ID. |
|
TileImprovement(Game game,
Tile tile,
TileImprovementType type)
Creates a standard TileImprovement -instance. |
|
TileImprovement(Game game,
javax.xml.stream.XMLStreamReader in)
|
|
TileItem(Game game,
org.w3c.dom.Element e)
Initiates a new TileItem from an Element . |
|
TileItem(Game game,
java.lang.String id)
Initiates a new TileItem
with the given ID. |
|
TileItem(Game game,
Tile tile)
Creates a new TileItem . |
|
TileItem(Game game,
javax.xml.stream.XMLStreamReader in)
Initiates a new TileItem from an Element . |
|
TileItemContainer(Game game,
Tile tile)
Creates an empty TileItemContainer . |
|
TileItemContainer(Game game,
Tile tile,
org.w3c.dom.Element e)
Initiates a new TileItemContainer from an Element . |
|
TileItemContainer(Game game,
Tile tile,
javax.xml.stream.XMLStreamReader in)
Initiates a new TileItemContainer from an Element . |
|
TradeItem(Game game,
java.lang.String id,
Player source,
Player destination)
Creates a new TradeItem instance. |
|
TradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new TradeItem instance. |
|
TradeRoute(Game game,
org.w3c.dom.Element e)
Creates a new TradeRoute instance. |
|
TradeRoute(Game game,
java.lang.String name,
Player player)
Creates a new TradeRoute instance. |
|
TradeRoute(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new TradeRoute instance. |
|
Unit(Game game,
org.w3c.dom.Element e)
Initialize this object from an XML-representation of this object. |
|
Unit(Game game,
Location location,
Player owner,
UnitType type,
Unit.UnitState state)
Initiate a new Unit with the specified parameters. |
|
Unit(Game game,
Location location,
Player owner,
UnitType type,
Unit.UnitState state,
EquipmentType... initialEquipment)
Initiate a new Unit with the specified parameters. |
|
Unit(Game game,
Player owner,
UnitType type)
Initiate a new Unit of a specified type with the state set
to Unit.UnitState.ACTIVE if a carrier and Unit.UnitState.SENTRY
otherwise. |
|
Unit(Game game,
java.lang.String id)
Initiates a new Unit with the given ID. |
|
Unit(Game game,
javax.xml.stream.XMLStreamReader in)
Initialize this object from an XML-representation of this object. |
|
UnitTradeItem(Game game,
Player source,
Player destination,
Unit unit)
Creates a new UnitTradeItem instance. |
|
UnitTradeItem(Game game,
javax.xml.stream.XMLStreamReader in)
Creates a new UnitTradeItem instance. |
Uses of Game in net.sf.freecol.common.networking |
---|
Constructors in net.sf.freecol.common.networking with parameters of type Game | |
---|---|
BuildColonyMessage(Game game,
org.w3c.dom.Element element)
Create a new BuildColonyMessage from a supplied element. |
|
BuyMessage(Game game,
org.w3c.dom.Element element)
Create a new BuyMessage from a supplied element. |
|
BuyPropositionMessage(Game game,
org.w3c.dom.Element element)
Create a new BuyPropositionMessage from a
supplied element. |
|
CashInTreasureTrainMessage(Game game,
org.w3c.dom.Element element)
Create a new CashInTreasureTrainMessage from a
supplied element. |
|
ChatMessage(Game game,
org.w3c.dom.Element element)
Create a new ChatMessage from a
supplied element. |
|
ClaimLandMessage(Game game,
org.w3c.dom.Element element)
Create a new ClaimLandMessage from a supplied element. |
|
CloseTransactionMessage(Game game,
org.w3c.dom.Element element)
Create a new CloseTransactionMessage from a supplied
element. |
|
DebugForeignColonyMessage(Game game,
org.w3c.dom.Element element)
Create a new DebugForeignColonyMessage from a
supplied element. |
|
DeclareIndependenceMessage(Game game,
org.w3c.dom.Element element)
Create a new DeclareIndependenceMessage from a
supplied element. |
|
DeliverGiftMessage(Game game,
org.w3c.dom.Element element)
Create a new DeliverGiftMessage from a supplied element. |
|
DiplomacyMessage(Game game,
org.w3c.dom.Element element)
Create a new DiplomacyMessage from a
supplied element. |
|
DisembarkMessage(Game game,
org.w3c.dom.Element element)
Create a new DisembarkMessage from a
supplied element. |
|
EmigrateUnitMessage(Game game,
org.w3c.dom.Element element)
Create a new EmigrateUnitMessage from a supplied element. |
|
GetTransactionMessage(Game game,
org.w3c.dom.Element element)
Create a new GetTransactionMessage from a supplied
element. |
|
GiveIndependenceMessage(Game game,
org.w3c.dom.Element element)
Create a new GiveIndependenceMessage from a
supplied element. |
|
GoodsForSaleMessage(Game game,
org.w3c.dom.Element element)
Create a new GoodsForSaleMessage from a supplied element. |
|
JoinColonyMessage(Game game,
org.w3c.dom.Element element)
Create a new JoinColonyMessage from a supplied element. |
|
RenameMessage(Game game,
org.w3c.dom.Element element)
Create a new RenameMessage from a
supplied element. |
|
SellMessage(Game game,
org.w3c.dom.Element element)
Create a new SellMessage from a supplied element. |
|
SellPropositionMessage(Game game,
org.w3c.dom.Element element)
Create a new SellPropositionMessage from a supplied
element. |
|
SetDestinationMessage(Game game,
org.w3c.dom.Element element)
Create a new SetDestinationMessage from a supplied element. |
|
SpySettlementMessage(Game game,
org.w3c.dom.Element element)
Create a new SpySettlementMessage from a
supplied element. |
|
StatisticsMessage(Game game,
AIMain aiMain)
|
|
UpdateCurrentStopMessage(Game game,
org.w3c.dom.Element element)
Create a new UpdateCurrentStopMessage from a
supplied element. |
Uses of Game in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return Game | |
---|---|
Game |
ColonyPlan.getGame()
Get the Game this object is associated to. |
Game |
AIObject.getGame()
Returns the game. |
Game |
AIMain.getGame()
Returns the game. |
Uses of Game in net.sf.freecol.server.generator |
---|
Methods in net.sf.freecol.server.generator with parameters of type Game | |
---|---|
void |
MapGenerator.createMap(Game game)
|
void |
IMapGenerator.createMap(Game game)
Creates the map with the current set options |
void |
TerrainGenerator.createMap(Game game,
boolean[][] landMap)
Creates a Map for the given Game . |
void |
TerrainGenerator.createMap(Game game,
Game importGame,
boolean[][] landMap)
Creates a Map for the given Game . |
static boolean[][] |
LandGenerator.importLandMap(Game game)
Imports the land map from the given Game . |
Uses of Game in net.sf.freecol.server.model |
---|
Subclasses of Game in net.sf.freecol.server.model | |
---|---|
class |
ServerGame
The main component of the game model. |
Constructors in net.sf.freecol.server.model with parameters of type Game | |
---|---|
ServerPlayer(Game game,
java.lang.String name,
boolean admin,
boolean ai,
java.net.Socket socket,
Connection connection,
Nation nation)
Creates a new ServerPlayer . |
|
ServerPlayer(Game game,
java.lang.String name,
boolean admin,
java.net.Socket socket,
Connection connection)
Creates a new ServerPlayer . |
|
ServerRegion(Game game,
java.lang.String nameKey,
Region.RegionType type)
|
|
ServerRegion(Game game,
java.lang.String nameKey,
Region.RegionType type,
Region parent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |