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
Ping
message 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
Message
which 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
AssistantCard
from the hand. - playAssistantCard(String) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Sends a
PlayAssistantCard
message to the server. - PlayAssistantCard - Class in it.polimi.ingsw.eriantys.messages.client
-
A
GameMessage
sent by a client in order to inform the server of theAssistantCard
literal 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
MessageHandler
defines how the planning phase messagePlayAssistantCard
should be processed. - PlayAssistantCardHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.PlayAssistantCardHandler
-
Constructs a new
PlayAssistantCardHandler
for 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
JsonObject
containing the given arguments to play the selected character card, sends aPlayCharacterCard
message to the server and then clears theClient.characterCard
attribute setting it tonull
. - PlayCharacterCard - Class in it.polimi.ingsw.eriantys.messages.client
-
A
GameMessage
sent by a client in order to inform the server of theCharacterCard
literal 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
MessageHandler
defines how the action phase messagePlayCharacterCard
should be processed. - PlayCharacterCardHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.PlayCharacterCardHandler
-
Constructs a new
PlayCharacterCardHandler
for 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
GameManager
helper 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
IslandGroup
and 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
*.fxml
files 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
BoardStatus
in 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 sameid
on 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