|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Player | |
---|---|
net.sf.freecol.client | This is the main client package. |
net.sf.freecol.client.control | Contains the classes responsible for the control of the game. |
net.sf.freecol.client.gui | Contains the GUI classes. |
net.sf.freecol.client.gui.i18n | |
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 | The main package of the server package tree. |
net.sf.freecol.server.ai | The main package of the ai package tree. |
net.sf.freecol.server.ai.mission | Contains the missions an AIUnit can be assigned to. |
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 Player in net.sf.freecol.client |
---|
Methods in net.sf.freecol.client that return Player | |
---|---|
Player |
FreeColClient.getMyPlayer()
Gets the Player that uses this client. |
Methods in net.sf.freecol.client with parameters of type Player | |
---|---|
void |
FreeColClient.setMyPlayer(Player player)
Sets the Player that uses this client. |
Uses of Player in net.sf.freecol.client.control |
---|
Methods in net.sf.freecol.client.control with parameters of type Player | |
---|---|
Unit |
ClientModelController.createUnit(java.lang.String taskID,
Location location,
Player owner,
UnitType type)
Creates a new unit. |
void |
ClientModelController.exploreTiles(Player player,
java.util.ArrayList<Tile> tiles)
Explores the given tiles for the given player. |
TradeRoute |
ClientModelController.getNewTradeRoute(Player player)
Returns a new TradeRoute object. |
void |
InGameController.setCurrentPlayer(Player currentPlayer)
Sets player as the new currentPlayer of the
game. |
void |
ClientModelController.setStance(Player first,
Player second,
Player.Stance stance)
Updates stances. |
Uses of Player in net.sf.freecol.client.gui |
---|
Fields in net.sf.freecol.client.gui declared as Player | |
---|---|
Player |
GUI.displayColonyValuePlayer
|
Methods in net.sf.freecol.client.gui with parameters of type Player | |
---|---|
void |
Canvas.displayChatMessage(Player sender,
java.lang.String message,
boolean privateChat)
Tells the map controls that a chat message was received. |
boolean |
Canvas.showInciteDialog(Player enemy,
int amount)
Displays a yes/no question to the user asking if he wants to pay the given amount to an indian tribe in order to have them declare war on the given player. |
void |
Canvas.showStartGamePanel(Game game,
Player player,
boolean singlePlayerMode)
Displays the StartGamePanel . |
Uses of Player in net.sf.freecol.client.gui.i18n |
---|
Methods in net.sf.freecol.client.gui.i18n with parameters of type Player | |
---|---|
static java.lang.String |
Messages.getNationAsString(Player player)
Returns the nation of the given player as a String. |
Uses of Player in net.sf.freecol.client.gui.panel |
---|
Methods in net.sf.freecol.client.gui.panel that return Player | |
---|---|
Player |
FreeColPanel.getMyPlayer()
Describe getMyPlayer method here. |
static Player |
MapEditorTransformPanel.getNativePlayer()
Get the NativePlayer value. |
Methods in net.sf.freecol.client.gui.panel with parameters of type Player | |
---|---|
void |
NegotiationDialog.addColonyTradeItem(Player source,
Colony colony)
Adds a ColonyTradeItem to the list of TradeItems. |
void |
NegotiationDialog.addGoldTradeItem(Player source,
int amount)
Adds a GoldTradeItem to the list of TradeItems. |
void |
NegotiationDialog.addGoodsTradeItem(Player source,
Goods goods)
Adds a GoodsTradeItem to the list of TradeItems. |
static java.util.List<UnitType> |
LabourData.getLabourTypes(Player player)
|
void |
NationCellRenderer.setData(java.util.List<Player> players,
Player owningPlayer)
Gives this table model the data that is being used in the table. |
static void |
MapEditorTransformPanel.setNativePlayer(Player newNativePlayer)
Set the NativePlayer value. |
Method parameters in net.sf.freecol.client.gui.panel with type arguments of type Player | |
---|---|
void |
NationCellRenderer.setData(java.util.List<Player> players,
Player owningPlayer)
Gives this table model the data that is being used in the table. |
Constructors in net.sf.freecol.client.gui.panel with parameters of type Player | |
---|---|
NegotiationDialog.ColonyTradeItemPanel(NegotiationDialog parent,
Player source)
Creates a new ColonyTradeItemPanel instance. |
|
NegotiationDialog.GoldTradeItemPanel(NegotiationDialog parent,
Player source,
int gold)
Creates a new GoldTradeItemPanel instance. |
|
NegotiationDialog.GoodsTradeItemPanel(NegotiationDialog parent,
Player source,
java.util.List<Goods> allGoods)
Creates a new GoodsTradeItemPanel instance. |
|
NegotiationDialog.StanceTradeItemPanel(NegotiationDialog parent,
Player source,
Player target)
Creates a new StanceTradeItemPanel instance. |
|
PlayersTable(Canvas canvas,
NationOptions nationOptions,
Player myPlayer)
The constructor that will add the items to this panel. |
Uses of Player in net.sf.freecol.common.model |
---|
Fields in net.sf.freecol.common.model with type parameters of type Player | |
---|---|
static java.util.Comparator<Player> |
Player.playerComparator
|
Methods in net.sf.freecol.common.model that return Player | |
---|---|
Player |
Monarch.declareWar(java.util.Random random)
Returns the nation of another player to declare war on. |
Player |
Game.getCurrentPlayer()
Gets the current player. |
Player |
TradeItem.getDestination()
Get the Destination value. |
Player |
Region.getDiscoveredBy()
Get the DiscoveredBy value. |
Player |
Game.getFirstPlayer()
Gets the first player in this game. |
Player |
Game.getNextPlayer()
Gets the next current player. |
Player |
Unit.getOwner()
Gets the owner of this Unit. |
Player |
TradeRoute.getOwner()
Get the Owner value. |
Player |
Tile.getOwner()
The nation that consider this tile to be their property. |
Player |
Settlement.getOwner()
Gets the owner of this Settlement . |
Player |
PlayerExploredTile.getOwner()
|
Player |
Ownable.getOwner()
Gets the owner of this Ownable . |
Player |
ModelMessage.getOwner()
Returns the owner of this message. |
Player |
Market.getOwner()
Gets the owner of this Market . |
Player |
Goods.getOwner()
Gets the owner of this Ownable . |
Player |
Europe.getOwner()
Gets the Player using this Europe . |
Player |
ColonyTile.getOwner()
Gets the owner of this Ownable . |
Player |
Building.getOwner()
Gets the owner of this Ownable . |
Player |
PlayerExploredTile.getPlayer()
Gets the Player owning this object (not the Tile). |
Player |
Game.getPlayer(java.lang.String nationID)
Return a Player identified by it's nation. |
Player |
Game.getPlayerAfter(Player beforePlayer)
Gets the player after the given player. |
Player |
Game.getPlayerByName(java.lang.String name)
Gets a Player specified by a name. |
Player |
DiplomaticTrade.getRecipient()
Get the Recipient value. |
Player |
Player.getREFPlayer()
Gets the Player controlling the "Royal Expeditionary
Force" for this player. |
Player |
DiplomaticTrade.getSender()
Get the Sender value. |
Player |
TradeItem.getSource()
Get the Source value. |
Player |
Game.getUnknownEnemy()
Returns the "Unknown Enemy" Player, which is used for privateers. |
Player |
Game.getViewOwner()
Returns the owner of this view of the game, or null if
this game has all the information. |
Methods in net.sf.freecol.common.model that return types with arguments of type Player | |
---|---|
java.util.Map<Player,Tension> |
IndianSettlement.getAlarm()
Returns the alarm Map. |
java.util.List<Player> |
Player.getDominionsAtWar()
Gets a list of the players this REF player is currently fighting. |
java.util.List<Player> |
Game.getEuropeanPlayers()
Returns all the European players known by the player of this game. |
java.util.Iterator<Player> |
Game.getPlayerIterator()
Gets an Iterator of every Player in this
game. |
java.util.List<Player> |
Game.getPlayers()
Gets an Vector containing every Player in
this game. |
Methods in net.sf.freecol.common.model with parameters of type Player | |
---|---|
void |
Game.addPlayer(Player player)
Adds the specified player to the game. |
boolean |
UnitTypeChange.appliesTo(Player player)
Describe appliesTo method here. |
void |
Market.buy(GoodsType goodsType,
int amount,
Player player)
Buys an amount of a particular type of good with the cost being met by a supplied player. |
void |
Player.changeRelationWithPlayer(Player player,
Player.Stance newStance)
|
static boolean |
Player.checkForDeath(Player player)
Checks if the given player has died. |
boolean |
Tile.claimable(Player player)
Can the ownership of this tile be claimed? Quick test that does not handle the curly case of tile transfer between colonies, or guarantee success (natives may want to be paid), but just that success is possible. |
Unit |
ModelController.createUnit(java.lang.String taskID,
Location location,
Player owner,
UnitType type)
Creates a new unit. |
void |
Region.discover(Player player,
Turn turn,
java.lang.String newName)
Mark the Region as discovered. |
boolean |
Player.equals(Player o)
Checks if the given Player equals this object. |
void |
ModelController.exploreTiles(Player player,
java.util.ArrayList<Tile> tiles)
Explores the given tiles for the given player. |
Tension |
IndianSettlement.getAlarm(Player player)
Gets the alarm level towards the given player. |
java.lang.String |
IndianSettlement.getAlarmLevelMessage(Player player)
Gets the ID of the alarm message associated with the alarm level of this player. |
java.util.List<Colony> |
DiplomaticTrade.getColoniesGivenBy(Player player)
Returns a list of colonies given by Player |
java.util.List<Goods> |
DiplomaticTrade.getGoodsGivenBy(Player player)
Returns a list of goods given by Player |
static int |
Game.getInciteAmount(Player payingPlayer,
Player targetPlayer,
Player attackingPlayer)
Gets the amount of gold needed for inciting. |
TradeRoute |
ModelController.getNewTradeRoute(Player player)
Get a new TradeRoute object. |
Player |
Game.getPlayerAfter(Player beforePlayer)
Gets the player after the given player. |
PlayerExploredTile |
Tile.getPlayerExploredTile(Player player)
Gets the PlayerExploredTile for the given
Player . |
java.util.List<AbstractGoods> |
Tile.getSortedPotential(UnitType unitType,
Player owner)
Sorts GoodsTypes according to potential based on TileType, TileItemContainer if any. |
Player.Stance |
Player.getStance(Player player)
Returns the stance towards a given player. |
Tension |
Player.getTension(Player player)
Gets the hostility this player has against the given player. |
int |
IndianSettlement.getTribute(Player player)
Returns the amount of gold this settlement pays as a tribute. |
UnitType |
UnitType.getUnitTypeChange(UnitTypeChange.ChangeType changeType,
Player player)
Describe getUnitTypeChange method here. |
boolean |
IndianSettlement.hasBeenVisited(Player player)
Returns true if a the given player has visited this settlement to speak with the chief. |
boolean |
Player.hasContacted(Player player)
Returns whether this player has met with the Player if the
given nation . |
boolean |
UnitType.isAvailableTo(Player player)
Returns true if the UnitType is available to the given Player. |
boolean |
FoundingFather.isAvailableTo(Player player)
Returns true if this FoundingFather is available
to the Player given. |
boolean |
Tile.isExploredBy(Player player)
Checks if this Tile has been explored by the given
Player . |
static boolean |
TradeRoute.isStopValid(Player player,
TradeRoute.Stop stop)
|
boolean |
Unit.isVisibleTo(Player player)
Checks if this unit is visible to the given player. |
void |
IndianSettlement.modifyAlarm(Player player,
int addToAlarm)
Modifies the alarm level towards the given player. |
void |
Player.modifyTension(Player player,
int addToTension)
Modifies the hostiliy against the given player. |
void |
Player.modifyTension(Player player,
int addToTension,
IndianSettlement origin)
|
void |
FreeColGameObjectListener.ownerChanged(FreeColGameObject source,
Player oldOwner,
Player newOwner)
|
void |
IndianSettlement.propagatedAlarm(Player player,
int addToAlarm)
Propagates the tension felt towards a given nation from the tribe down to each settlement that has already met that nation. |
void |
Game.removePlayer(Player player)
Removes the specified player from the game. |
void |
Market.sell(Goods goods,
Player player)
Sells an amount of a particular type of good with the proceeds of the sale being paid to a supplied player. |
void |
Market.sell(GoodsType type,
int amount,
Player player)
Sells an amount of a particular type of good with the proceeds of the sale being paid to a supplied player. |
void |
Market.sell(GoodsType type,
int amount,
Player player,
int marketAccess)
Sells an amount of a particular type of good with the proceeds of the sale being paid to a supplied player. |
void |
IndianSettlement.setAlarm(Player player,
Tension newAlarm)
Sets alarm towards the given player. |
void |
Player.setContacted(Player player,
boolean contacted)
Sets whether this player has contacted the given player. |
void |
Game.setCurrentPlayer(Player newCp)
Sets the current player. |
void |
TradeItem.setDestination(Player newDestination)
Set the Destination value. |
void |
Region.setDiscoveredBy(Player newDiscoveredBy)
Set the DiscoveredBy value. |
void |
Tile.setExploredBy(Player player,
boolean explored)
Sets this Tile to be explored by the given
Player . |
void |
Unit.setOwner(Player owner)
Sets the owner of this Unit. |
void |
TradeRoute.setOwner(Player newOwner)
Set the Owner value. |
void |
Tile.setOwner(Player owner)
Sets the nation that should consider this tile to be their property. |
void |
Settlement.setOwner(Player owner)
Sets the owner of this Settlement . |
void |
PlayerExploredTile.setOwner(Player owner)
|
void |
Ownable.setOwner(Player p)
Sets the owner of this Ownable . |
void |
ModelMessage.setOwner(Player newOwner)
Set the owner of this message. |
void |
Market.setOwner(Player owner)
Sets the owner of this Market . |
void |
Goods.setOwner(Player p)
Sets the owner of this Ownable . |
void |
Europe.setOwner(Player p)
Sets the owner of this Ownable . |
void |
ColonyTile.setOwner(Player p)
Sets the owner of this Ownable . |
void |
Colony.setOwner(Player owner)
Sets the owner of this Colony , including all units
within, and change main tile nation ownership. |
void |
Building.setOwner(Player p)
Sets the owner of this Ownable . |
void |
DiplomaticTrade.setRecipient(Player newRecipient)
Set the Recipient value. |
void |
DiplomaticTrade.setSender(Player newSender)
Set the Sender value. |
void |
TradeItem.setSource(Player newSource)
Set the Source value. |
void |
Player.setStance(Player player,
Player.Stance newStance)
Sets the stance towards a given player. |
void |
ModelController.setStance(Player first,
Player second,
Player.Stance stance)
Updates stances. |
void |
Player.setTension(Player player,
Tension newTension)
Sets the hostility against the given player. |
void |
Game.setUnknownEnemy(Player player)
Sets the "Unknown Enemy" Player, which is used for privateers. |
void |
IndianSettlement.setVisited(Player player)
Sets the visited status of this settlement to true, indicating that a European has had a chat with the chief. |
void |
Player.surrenderTo(Player player)
Indian player surrenders |
void |
FreeColObject.toXML(javax.xml.stream.XMLStreamWriter out,
Player player)
This method writes an XML-representation of this object to the given stream. |
void |
FreeColObject.toXML(javax.xml.stream.XMLStreamWriter out,
Player player,
boolean showAll,
boolean toSavedGame)
This method writes an XML-representation of this object to the given stream. |
void |
FreeColGameObject.toXML(javax.xml.stream.XMLStreamWriter out,
Player player,
boolean showAll,
boolean toSavedGame)
This method writes an XML-representation of this object to the given stream. |
void |
TileItemContainer.toXML(javax.xml.stream.XMLStreamWriter out,
Player player,
boolean showAll,
boolean toSavedGame,
PlayerExploredTile pet)
|
org.w3c.dom.Element |
FreeColObject.toXMLElement(Player player,
org.w3c.dom.Document document)
This method writes an XML-representation of this object to the given stream. |
org.w3c.dom.Element |
FreeColObject.toXMLElement(Player player,
org.w3c.dom.Document document,
boolean showAll,
boolean toSavedGame)
This method writes an XML-representation of this object to the given stream. |
org.w3c.dom.Element |
FreeColObject.toXMLElement(Player player,
org.w3c.dom.Document document,
boolean showAll,
boolean toSavedGame,
java.lang.String[] fields)
This method writes an XML-representation of this object to the given stream. |
void |
PlayerExploredTile.toXMLImpl(javax.xml.stream.XMLStreamWriter out,
Player player,
boolean showAll,
boolean toSavedGame)
This method writes an XML-representation of this object to the given stream. |
void |
Tile.updateIndianSettlementInformation(Player player)
Updates the information about the IndianSettlement located
on this Tile . |
void |
Tile.updateIndianSettlementSkill(Player player)
Updates the skill available from the IndianSettlement
located on this Tile . |
void |
Tile.updatePlayerExploredTile(Player player)
Updates the information about this Tile for the given
Player . |
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 Player | |
---|---|
Colony(Game game,
Player owner,
java.lang.String name,
Tile tile)
Creates a new Colony . |
|
ColonyTradeItem(Game game,
Player source,
Player destination,
Colony colony)
Creates a new ColonyTradeItem 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,
Player owner)
Creates a new Europe . |
|
GoldTradeItem(Game game,
Player source,
Player destination,
int gold)
Creates a new GoldTradeItem instance. |
|
GoodsTradeItem(Game game,
Player source,
Player destination,
Goods goods,
Settlement settlement)
Creates a new GoodsTradeItem instance. |
|
HighScore(Player player,
java.util.Date theDate)
|
|
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. |
|
Market(Game game,
Player player)
|
|
Monarch(Game game,
Player player,
java.lang.String name)
Constructor. |
|
Player.UnitIterator(Player owner,
Player.UnitPredicate predicate)
Creates a new NextActiveUnitIterator . |
|
PlayerExploredTile(Game game,
Player player,
Tile tile)
Creates a new PlayerExploredTile . |
|
Settlement(Game game,
Player owner,
java.lang.String name,
Tile tile)
Creates a new Settlement . |
|
StanceTradeItem(Game game,
Player source,
Player destination,
Player.Stance stance)
Creates a new StanceTradeItem instance. |
|
TradeItem(Game game,
java.lang.String id,
Player source,
Player destination)
Creates a new TradeItem instance. |
|
TradeRoute(Game game,
java.lang.String name,
Player player)
Creates a new TradeRoute instance. |
|
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. |
|
UnitTradeItem(Game game,
Player source,
Player destination,
Unit unit)
Creates a new UnitTradeItem instance. |
Constructor parameters in net.sf.freecol.common.model with type arguments of type Player | |
---|---|
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. |
Uses of Player in net.sf.freecol.common.networking |
---|
Methods in net.sf.freecol.common.networking that return Player | |
---|---|
Player |
ChatMessage.getPlayer()
Who sent this ChatMessage? |
Methods in net.sf.freecol.common.networking with parameters of type Player | |
---|---|
java.lang.String |
DiplomacyMessage.getOtherNationName(Player player)
Get the name of this message's other nation as a string. |
org.w3c.dom.Element |
SellPropositionMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "sellProposition"-message. |
org.w3c.dom.Element |
SellMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "sell"-message. |
org.w3c.dom.Element |
RenameMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "rename"-message. |
org.w3c.dom.Element |
JoinColonyMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "joinColony"-message. |
org.w3c.dom.Element |
GoodsForSaleMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "goodsForSale"-message. |
org.w3c.dom.Element |
GiveIndependenceMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "giveIndependence"-message. |
org.w3c.dom.Element |
GetTransactionMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "getTransaction"-message. |
org.w3c.dom.Element |
EmigrateUnitMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "emigrateUnit"-message. |
org.w3c.dom.Element |
DisembarkMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "disembark"-message. |
org.w3c.dom.Element |
DeliverGiftMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "deliverGift"-message. |
org.w3c.dom.Element |
DeclareIndependenceMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "declareIndependence"-message. |
org.w3c.dom.Element |
CloseTransactionMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "closeTransaction"-message. |
org.w3c.dom.Element |
ClaimLandMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "claimLand"-message. |
org.w3c.dom.Element |
CashInTreasureTrainMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "cashInTreasureTrain"-message. |
org.w3c.dom.Element |
BuyPropositionMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "buyProposition"-message. |
org.w3c.dom.Element |
BuyMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "buy"-message. |
org.w3c.dom.Element |
BuildColonyMessage.handle(FreeColServer server,
Player player,
Connection connection)
Handle a "buildColony"-message. |
Constructors in net.sf.freecol.common.networking with parameters of type Player | |
---|---|
ChatMessage(Player player,
java.lang.String message,
boolean privateChat)
Create a new ChatMessage with the
supplied message. |
|
GiveIndependenceMessage(Player player)
Create a new GiveIndependenceMessage for the given
player. |
Uses of Player in net.sf.freecol.server |
---|
Methods in net.sf.freecol.server with parameters of type Player | |
---|---|
boolean |
FreeColServer.newHighScore(Player player)
Adds a new high score for player and returns true
if possible. |
Uses of Player in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return Player | |
---|---|
Player |
NewAIPlayer.getPlayer()
Deprecated. Returns the Player this AIPlayer is
controlling. |
Player |
AIPlayer.getPlayer()
Returns the Player this AIPlayer is
controlling. |
Methods in net.sf.freecol.server.ai with parameters of type Player | |
---|---|
void |
AIMain.ownerChanged(FreeColGameObject source,
Player oldOwner,
Player newOwner)
|
Uses of Player in net.sf.freecol.server.ai.mission |
---|
Methods in net.sf.freecol.server.ai.mission with parameters of type Player | |
---|---|
static boolean |
IndianBringGiftMission.isValidMission(Player owner,
Player targetPlayer)
Checks if the player owner can bring a gift to the
targetPlayer . |
Uses of Player in net.sf.freecol.server.control |
---|
Methods in net.sf.freecol.server.control that return Player | |
---|---|
Player |
InGameController.checkForWinner()
Checks if anybody has won the game and returns that player. |
Methods in net.sf.freecol.server.control with parameters of type Player | |
---|---|
Unit |
ServerModelController.createUnit(java.lang.String taskID,
Location location,
Player owner,
UnitType type)
Creates a new unit. |
Unit |
ServerModelController.createUnit(java.lang.String taskID,
Location location,
Player owner,
UnitType type,
boolean secure,
Connection connection)
Creates a new unit. |
void |
ServerModelController.exploreTiles(Player player,
java.util.ArrayList<Tile> tiles)
Explores the given tiles for the given player. |
TradeRoute |
ServerModelController.getNewTradeRoute(Player player)
Returns a new TradeRoute object. |
void |
ServerModelController.setStance(Player first,
Player second,
Player.Stance stance)
Updates stances. |
void |
InGameController.unloadCargo(Player player,
Goods goods)
|
void |
ServerModelController.update(Tile newTile,
Player p)
Sends an update of the given Tile to the other players. |
void |
ServerModelController.update(Unit unit,
Player p)
Sends an update of the unit to the other players. |
Uses of Player in net.sf.freecol.server.model |
---|
Subclasses of Player in net.sf.freecol.server.model | |
---|---|
class |
ServerPlayer
A Player with additional (server specific) information. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |