Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- PhaseName - Enum Class in it.polimi.ingsw.eriantys.controller.phases
- ping() - Method in class it.polimi.ingsw.eriantys.server.ClientConnection
-
Sends a
Pingmessage to the client approximately every 2.5 seconds in order to ensure that the connection is working, disconnecting the client if an I/O error occurs. - Ping - Class in it.polimi.ingsw.eriantys.messages
-
A
Messagewhich acts to implement the disconnection handling behaviour. - Ping() - Constructor for class it.polimi.ingsw.eriantys.messages.Ping
- Ping(String) - Constructor for class it.polimi.ingsw.eriantys.messages.Ping
- PINK - Enum constant in enum class it.polimi.ingsw.eriantys.model.Color
- playAssistantCard(AssistantCard) - Method in class it.polimi.ingsw.eriantys.model.Player
-
A method to implement the act of playing an
AssistantCardfrom the hand. - playAssistantCard(String) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Sends a
PlayAssistantCardmessage to the server. - PlayAssistantCard - Class in it.polimi.ingsw.eriantys.messages.client
-
A
GameMessagesent by a client in order to inform the server of theAssistantCardliteral chosen by the user in the current planning phase. - PlayAssistantCard(String, String) - Constructor for class it.polimi.ingsw.eriantys.messages.client.PlayAssistantCard
- PlayAssistantCardHandler - Class in it.polimi.ingsw.eriantys.controller.phases
-
This concrete implementation for the state design pattern involving
MessageHandlerdefines how the planning phase messagePlayAssistantCardshould be processed. - PlayAssistantCardHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.PlayAssistantCardHandler
-
Constructs a new
PlayAssistantCardHandlerfor the specified game. - playCharacterCard(int, JsonObject) - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Handles the selection of a character card to play.
- playCharacterCard(String[], String[], String, String) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Builds the
JsonObjectcontaining the given arguments to play the selected character card, sends aPlayCharacterCardmessage to the server and then clears theClient.characterCardattribute setting it tonull. - PlayCharacterCard - Class in it.polimi.ingsw.eriantys.messages.client
-
A
GameMessagesent by a client in order to inform the server of theCharacterCardliteral chosen by the user in the current action phase. - PlayCharacterCard(String, int, String) - Constructor for class it.polimi.ingsw.eriantys.messages.client.PlayCharacterCard
- PlayCharacterCardHandler - Class in it.polimi.ingsw.eriantys.controller.phases
-
This concrete implementation for the state design pattern involving
MessageHandlerdefines how the action phase messagePlayCharacterCardshould be processed. - PlayCharacterCardHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.PlayCharacterCardHandler
-
Constructs a new
PlayCharacterCardHandlerfor the specified game. - Player - Class in it.polimi.ingsw.eriantys.model
-
A class which represents a human being playing the game.
- Player(String, int, int) - Constructor for class it.polimi.ingsw.eriantys.model.Player
- PlayerList - Class in it.polimi.ingsw.eriantys.model
-
A
GameManagerhelper class to handle the players of the game, in particular for the variability of the turn order. - PlayerList(List<String>, int, int) - Constructor for class it.polimi.ingsw.eriantys.model.PlayerList
- popNoEntryTile() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
Removes the latest no-entry tile to be placed on the
IslandGroupand returns itsid. - populate(BoardStatus) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.CharacterCardsController
-
Gets the information about character cards from the board status and draws all the elements in the scene.
- populate(List<String>) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.TowersController
-
Gets the information about tower colors from passed parameter and draws all the elements in the scene.
- populate(List<String>) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.WizardsController
-
Gets the information about tower colors from passed parameter and draws all the elements in the scene.
- populate(List<String>, Map<String, String>) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.AssistantCardsController
-
Gets the information about assistant cards from passed parameters and draws all the elements in the scene.
- PopupName - Enum Class in it.polimi.ingsw.eriantys.client.gui
-
An enumeration to map
*.fxmlfiles to a name. - ProfessorOwnership - Class in it.polimi.ingsw.eriantys.model
-
This class represents the association between each
Color's professor and its respective owner. - ProfessorOwnership(Supplier<Player>) - Constructor for class it.polimi.ingsw.eriantys.model.ProfessorOwnership
- professorsRepresentation() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - promptSelection() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Sends an update to all players which prompts the first player to select the wizard and tower color.
- promptSelection(List<String>, List<String>) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.WaitingRoomController
-
Gets the information about tower colors and wizards from passed parameters and draws all the elements in a popup.
- putNoEntryTile(int) - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
Places a no-entry tile on the
IslandGroup, unless there already is a no-entry tile with the sameidon it. - putReconnectSettings(AcceptedJoinLobby) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Saves the reconnection settings.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form