Index

A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

P

parameterList - Variable in class it.polimi.ingsw.am13.PromptCommand
List of parameters needed, in form of text.
ParametersClient - Class in it.polimi.ingsw.am13
Class storing all the major parameters the client classes use, both for game and technical aspects.
ParametersClient() - Constructor for class it.polimi.ingsw.am13.ParametersClient
 
ParametersServer - Class in it.polimi.ingsw.am13
Class storing all the major parameters the server classes use, both for game and technical aspects.
ParametersServer() - Constructor for class it.polimi.ingsw.am13.ParametersServer
 
personalObjective - Variable in class it.polimi.ingsw.am13.model.player.Player
Player's personal objective.
pickables - Variable in class it.polimi.ingsw.am13.client.gamestate.GameState
The list of cards that are visible to the player (the two tops aof the decks and the four cards that are drawable).
pickablesContainer - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
 
pickCard(CardPlayableIF) - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
Pick the passed card
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
Pick the passed card
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
Pick the passed card
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.model.DeckHandler
If the specified card is found among the 3 "visible" (top of the deck and the 2 actually visibile), it is picked and returned.
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.model.GameModel
Picks one of the 6 cards on the table
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.model.Match
Picks one of the 6 cards on the table If the player isn't connected or there is no card to pick, it only increases the turnActionsCounter
pickCard(CardPlayableIF) - Method in class it.polimi.ingsw.am13.network.rmi.GameControllerRMI
Picks one of the 6 cards on the table, and makes the game proceed to the next Turn.
pickCard(CardPlayableIF) - Method in interface it.polimi.ingsw.am13.network.rmi.GameControllerRMIIF
Picks one of the 6 cards on the table, and makes the game proceed to the next Turn.
pickCard(PlayerLobby, CardPlayableIF) - Method in class it.polimi.ingsw.am13.controller.GameController
Picks one of the 6 cards on the table, and makes the game proceed to the next Turn.
pickedCard - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePickedCard
The card that has been picked.
ping - Variable in class it.polimi.ingsw.am13.network.rmi.GameListenerServerRMI
Long representing the last time the ping was updated
ping - Variable in class it.polimi.ingsw.am13.network.socket.GameListenerServerSocket
The ping time of the client.
ping() - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
Ping the server
ping() - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
Ping the server
pingThread - Variable in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
Thread sending periodically pings to server
pingThread - Variable in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
Thread sending periodically pings to server
placeCardInField(Side) - Method in class it.polimi.ingsw.am13.model.card.Card
Sets the card visible in field, with the visible side specified.
placeCardSideAtCoord(Coordinates, CardSidePlayableIF) - Method in class it.polimi.ingsw.am13.client.gamestate.FieldState
Sets the given coordinates with the given card side placed on them
PLANT - Enum constant in enum class it.polimi.ingsw.am13.model.card.Color
 
PLANT - Enum constant in enum class it.polimi.ingsw.am13.model.card.Resource
 
PLANT_SYMBOL - Static variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIConstants
 
plantCounterLabel - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Label for counter of plant resources in the field of displayPlayer
playAudio(String) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Plays the specified audio file if audio is currently on, with volume indicated by ViewGUIControllerMatch.soundsVolSlider The file must be in relative path /sounds with respect to the fxml file
playCard(CardPlayableIF, Coordinates, Side) - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
Play a card according to the parameters
playCard(CardPlayableIF, Coordinates, Side) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
Play a card according to the parameters
playCard(CardPlayableIF, Coordinates, Side) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
Play a card according to the parameters
playCard(CardPlayableIF, Side, Coordinates) - Method in class it.polimi.ingsw.am13.model.GameModel
Plays a given card side on the field, at the given coordinates
playCard(CardPlayableIF, Side, Coordinates) - Method in class it.polimi.ingsw.am13.model.Match
Plays a given card side on the field of a given player, at the given coordinates It only increases the turnActionsCounter if the player is not connected
playCard(CardPlayableIF, Side, Coordinates) - Method in class it.polimi.ingsw.am13.network.rmi.GameControllerRMI
Plays a given card side on the field, at the given coordinates
playCard(CardPlayableIF, Side, Coordinates) - Method in interface it.polimi.ingsw.am13.network.rmi.GameControllerRMIIF
Plays a given card side on the field, at the given coordinates
playCard(CardSidePlayableIF, Coordinates) - Method in class it.polimi.ingsw.am13.model.player.Player
Play a card side of the player's hand on the field at given coordinates.
playCard(PlayerLobby, CardPlayableIF, Side, Coordinates) - Method in class it.polimi.ingsw.am13.controller.GameController
Plays a given card side on the field, at the given coordinates
playCardSide(CardSidePlayable, Coordinates) - Method in class it.polimi.ingsw.am13.model.player.Field
Play a card side at given coordinates on the Field.
player - Variable in class it.polimi.ingsw.am13.client.network.rmi.GameListenerClientRMI
Player associated to this listener
player - Variable in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
The player associated to this network handler
player - Variable in class it.polimi.ingsw.am13.network.rmi.GameControllerRMI
 
player - Variable in class it.polimi.ingsw.am13.network.rmi.GameListenerServerRMI
Players associated to this game listener
player - Variable in class it.polimi.ingsw.am13.network.socket.ClientRequestsHandler
PlayerLobby of the current socket
player - Variable in class it.polimi.ingsw.am13.network.socket.GameListenerServerSocket
The player associated with this listener
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseChosenPersonalObjective
The player that has chosen the personal objective
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseNextTurn
The player that has to play in the next turn
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePickedCard
The player that has picked a card
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedCard
The player that has played a card
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedStarter
The player that has played a starter
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerDisconnected
The player that has disconnected
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerJoinedRoom
Player who joined the room
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerLeftRoom
Player who left the room
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerReconnected
The player that has reconnected
player - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseUpdateGameState
Player who wants to reconnect to an already started match
Player - Class in it.polimi.ingsw.am13.model.player
This class manages a player of match, storing and managing his nickname, token, field, hand cards, personal objective, starter card, points, whether he is connected or not.
Player(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.model.player.Player
Constructor for the Player class.
Player(String, Token) - Constructor for class it.polimi.ingsw.am13.model.player.Player
Constructor for the Player class.
playerColumn - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
 
playerContainerUpdateConnection(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Updates player container connection status of the player which has disconnected or reconnected.
playerCount - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
Counter for the number of players currently in room
PlayerHandException - Exception Class in it.polimi.ingsw.am13.model.exceptions
This exception is thrown when there is attempt to add a card to the hand of a player who has already three cards (i.e.
PlayerHandException(String) - Constructor for exception class it.polimi.ingsw.am13.model.exceptions.PlayerHandException
Constructor of the exception.
PlayerIF - Interface in it.polimi.ingsw.am13.model.player
Interface of a player, which only allows to get his data
playerLobby - Variable in class it.polimi.ingsw.am13.model.player.Player
Player decontextualized from game.
PlayerLobby - Class in it.polimi.ingsw.am13.model.player
Immutable class representing a player not yet in game.
PlayerLobby(String, ColorToken) - Constructor for class it.polimi.ingsw.am13.model.player.PlayerLobby
 
PlayerLobby(String, Token) - Constructor for class it.polimi.ingsw.am13.model.player.PlayerLobby
 
playerNodes - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
A map associating to the nickname of each player the VBox in which his information is being displayed
players - Variable in class it.polimi.ingsw.am13.client.gamestate.GameState
The players in the game, mapped via their player lobby
players - Variable in class it.polimi.ingsw.am13.model.Match
The players of the match.
players - Variable in class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandCreateRoom
The room capacity.
players - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseWinner
The list of players of the game, one of which has won the game
playersContainer - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Container for the labels displaying the players in game (to the left of the screen)
playersContainerUpdateTurns() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Updates player container labels representing the turn of the players.
playersHandsPlayable - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
A map storing the playable cards in the hand of each player
playersInGame - Variable in class it.polimi.ingsw.am13.controller.Room
List of players that are in the game, null if the game has not started yet
playersMap - Variable in class it.polimi.ingsw.am13.model.Match
Map associating player decontextualized from game to the actual playing player
PlayerState - Class in it.polimi.ingsw.am13.client.gamestate
Representation of the state of one player in game.
PlayerState(PlayerIF) - Constructor for class it.polimi.ingsw.am13.client.gamestate.PlayerState
Builds a new representation of the player's state starting from their interface.
playStarter(Side) - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
Play the starter card
playStarter(Side) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
Play the starter card
playStarter(Side) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
Play the starter card
playStarter(Side) - Method in class it.polimi.ingsw.am13.model.player.Player
Play the corresponding given side of the starter card on the player's field.
playStarter(Side) - Method in class it.polimi.ingsw.am13.network.rmi.GameControllerRMI
Method callable only once during INIT phase.
playStarter(Side) - Method in interface it.polimi.ingsw.am13.network.rmi.GameControllerRMIIF
Method callable only once during INIT phase.
playStarter(PlayerLobby, Side) - Method in class it.polimi.ingsw.am13.controller.GameController
Method callable only once per player during INIT phase.
playStarter(PlayerLobby, Side) - Method in class it.polimi.ingsw.am13.model.GameModel
Method callable only once per player during INIT phase.
playStarter(PlayerLobby, Side) - Method in class it.polimi.ingsw.am13.model.Match
This method plays the starting of the given player on the passed side
playTransitionAppearLeftRight(Node, double) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
Creates and plays a transition making the given node appearing with the slide of a clip from left to right
points - Variable in class it.polimi.ingsw.am13.client.gamestate.PlayerState
Points of the players, initially 0
points - Variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils.CardSideSymbolsBuilder
points -> "2xK" / " 2 " (either a number representing instant points, or a number representing how many points the player gets for each object/covered corner, followed by x and then a symbol representing the object or the covered corner condition
points - Variable in class it.polimi.ingsw.am13.model.card.CardSideObjectiveActive
Information about the points guaranteed by the card this side is part of.
points - Variable in class it.polimi.ingsw.am13.model.card.CardSidePlayable
It stores the information needed to calculate the points the player gets when playing this card side
points - Variable in class it.polimi.ingsw.am13.model.card.points.PointsCorner
Represents how many points the card gives for each corner it covers
points - Variable in class it.polimi.ingsw.am13.model.card.points.PointsInstant
This variable represents how many points the card gives
points - Variable in class it.polimi.ingsw.am13.model.card.points.PointsPattern
Represetns how many points the card gives for each complete non-intersecting pattern is present in field
points - Variable in class it.polimi.ingsw.am13.model.card.points.PointsResource
This variable represents the number of points this card gives for each resource
points - Variable in class it.polimi.ingsw.am13.model.card.points.PointsSet
Represetns how many points the card gives for each complete set present in field
points - Variable in class it.polimi.ingsw.am13.model.player.Player
Player's points counter.
points - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedCard
The points that the player has earned by playing the card
POINTS_FOR_FINAL_PHASE - Static variable in class it.polimi.ingsw.am13.ParametersServer
Number of points that, when first reached by a player, triggers the final phase
POINTS_PATTERN_ANGLE - Static variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIConstants
 
pointsColumn - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
 
PointsCorner - Class in it.polimi.ingsw.am13.model.card.points
Representation of points of a playable card side of the type "x points for each corner covered by this card when you play it"
PointsCorner(int) - Constructor for class it.polimi.ingsw.am13.model.card.points.PointsCorner
The only constructor of the class.
PointsInstant - Class in it.polimi.ingsw.am13.model.card.points
Representation of points of a playable card side of the type "x points when you play this card on this side"
PointsInstant(int) - Constructor for class it.polimi.ingsw.am13.model.card.points.PointsInstant
The only constructor of the class.
pointsMap - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePointsCalculated
The points calculated
PointsObjective - Interface in it.polimi.ingsw.am13.model.card.points
Representation of points of an objective card.
PointsPattern - Class in it.polimi.ingsw.am13.model.card.points
Representation of an objective card of type "x points for each pattern with 3 card in a certain position and with certain colors" (fourth type of objective card presented in rulebook).
PointsPattern(Color, Color, Color, int, int, int) - Constructor for class it.polimi.ingsw.am13.model.card.points.PointsPattern
 
PointsPlayable - Interface in it.polimi.ingsw.am13.model.card.points
Representation of the points of a playable card.
PointsResource - Class in it.polimi.ingsw.am13.model.card.points
Representation of points of a playable card side of the type "x points for each resource of type y present on the field immediately after you play it"
PointsResource(int, Resource) - Constructor for class it.polimi.ingsw.am13.model.card.points.PointsResource
The only constructor of the class.
PointsSet - Class in it.polimi.ingsw.am13.model.card.points
Representation of points of an objective card of type "x points for each set of resources/objects" (first 3 types of objective cards presentd in the rule book).
PointsSet(Map<Resource, Integer>, int) - Constructor for class it.polimi.ingsw.am13.model.card.points.PointsSet
The only constructor of the class.
pointsTable - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
 
popNextLog() - Method in class it.polimi.ingsw.am13.client.view.gui.LogGUI
Sets the most old log as handled, deleting it (i.e.
port - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
Port of the server
possibleHandObjectives - Variable in class it.polimi.ingsw.am13.client.gamestate.PlayerState
List of (2) possible objective card, from with the player must choose for their personal objective card to hold for the game.
possiblePersonalObjectives - Variable in class it.polimi.ingsw.am13.model.player.Player
The two objective cards among which the player can choose his personal objective.
posX - Variable in class it.polimi.ingsw.am13.model.card.Coordinates
Coordinate x of point/vector (horizontal axis)
posY - Variable in class it.polimi.ingsw.am13.model.card.Coordinates
Coordinate y of point/vector (vertical axis)
printCurrentChat(String) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
Prints all the messages for the currently active chat room (assuming a chatroom is active) It can print a message before the chat room.
printMatch() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
 
printMenu() - Method in class it.polimi.ingsw.am13.client.view.tui.menu.MenuTUI
Prints (text) the menu
printStartup(boolean, String, int) - Static method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils
 
PromptCommand - Class in it.polimi.ingsw.am13
Representation of a command accepted from the command line
PromptCommand(String, String, Consumer<List<String>>, String...) - Constructor for class it.polimi.ingsw.am13.PromptCommand
 
putCardStrInFieldStr(Character[][], List<List<Character>>, int, int) - Static method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils
 
A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form