Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- DecksCreator - Class in it.polimi.ingsw.gc14.Model
-
Utility class responsible for loading and creating decks of cards and slots for the game.
- DecksCreator() - Constructor for class it.polimi.ingsw.gc14.Model.DecksCreator
- DecksCreator.BuildingCardDefinition - Class in it.polimi.ingsw.gc14.Model
-
Internal data class representing the raw definition of a building card as loaded from a JSON file.
- DecksCreator.TribeCardDefinition - Class in it.polimi.ingsw.gc14.Model
-
Internal data class representing the raw definition of a tribe card as loaded from a JSON file.
- delete() - Method in class it.polimi.ingsw.gc14.SaveManager
-
Deletes the save file.
- description - Variable in enum class it.polimi.ingsw.gc14.ErrorType
-
Human-readable description of this error, returned by
ErrorType.toString(). - description - Variable in enum class it.polimi.ingsw.gc14.Network.EventType
-
Human-readable label for this event type, returned by
EventType.toString(). - detailsBtn - Variable in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
-
Button that opens the game details popup.
- disconnect() - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Notifies the server of a voluntary disconnection and closes the network client connection.
- disconnect() - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Tears down the connection.
- disconnect() - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIHeartbeat
-
Disconnects the monitored RMI client.
- disconnect() - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Disconnects the player and cleans model and controller
- disconnect() - Method in class it.polimi.ingsw.gc14.Network.TCP.Server.ClientHandler
-
Disconnects the client from the server.
- disconnect() - Method in class it.polimi.ingsw.gc14.Network.TCP.Server.HeartbeatHandler
-
Disconnects the heartbeat channel and the associated main client connection.
- DISCONNECTED_PLAYER - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to notify that a player has disconnected.
- disconnectedPlayer(Player) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Marks the specified player as disconnected and updates the game flow accordingly.
- disconnectedPlayer(String) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Marks the player associated with the specified username as disconnected.
- DisconnectedPlayer - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
Network event used to notify all clients that a player has disconnected.
- DisconnectedPlayer(String) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.DisconnectedPlayer
-
Constructs a disconnection event for the specified player.
- disconnectedPlayers - Variable in class it.polimi.ingsw.gc14.Model.Game
-
Map tracking the players who are currently disconnected.
- disconnectedPlayers - Variable in class it.polimi.ingsw.gc14.Model.MiniModel
-
Usernames of players currently disconnected from the game.
- disconnectedPlayers - Variable in class it.polimi.ingsw.gc14.Network.NetworkEvent
-
Usernames of players currently disconnected from the game.
- disconnectedUsernames(Game) - Static method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Returns usernames of players currently marked as disconnected in the given game.
- disconnectedUsernames(Game) - Static method in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
-
Returns usernames of players currently marked as disconnected in the given game.
- disconnectionTimer - Variable in class it.polimi.ingsw.gc14.GameEventProcessor
-
Handle to the running forfeit timer, or
nullwhen no timer is active. - disconnectPlayer(String) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Notifies the server of a voluntary disconnection for the specified player.
- disconnectPlayer(String) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Triggers a voluntary disconnection for the specified player by stopping their heartbeat watchdog.
- display(String) - Method in class it.polimi.ingsw.gc14.View.TUI.TUI
-
Clears the terminal and displays
content, horizontally centered. - displayName - Variable in enum class it.polimi.ingsw.gc14.Model.GamePackage.GameStages
-
The human-readable name of this stage, used in
GameStages.toString(). - displayWidth(String) - Static method in class it.polimi.ingsw.gc14.View.TUI.AsciiTable
-
Returns the number of terminal columns required to display
s. - doEvent(NetworkEvent) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Sends a
NetworkEventto the server. - doFirstEvent() - Method in class it.polimi.ingsw.gc14.GameEventProcessor
-
Blocks until one event is available in the queue, then routes it to the appropriate handler based on the current game state.
- doLogin(ClientController) - Method in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
Prompts for username, player count, network type, and server IP, then connects.
- doLoginInner(ClientController, LineReader, LineReader) - Method in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
Reads login fields from the terminal and connects to the server.
- DRAW_LOWER_BUILD - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to draw a building card from the lower card list.
- DRAW_LOWER_TRIBE - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to draw a tribe card from the lower card list.
- DRAW_UPPER_BUILD - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to draw a building card from the upper card list.
- DRAW_UPPER_TRIBE - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to draw a tribe card from the upper card list.
- drawLowerBuilding() - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
-
Renders the top card of the lower building stack with a count badge; clicking opens the selection popup.
- drawLowerBuildingCard(int) - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Requests to draw a building card from the lower list.
- drawLowerBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Attempts to draw a lower building card for the specified player from the specified position.
- drawLowerBuildingCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.IClient
-
Requests to draw a building card from the lower building card list.
- drawLowerBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Requests to draw a building card from the lower list.
- drawLowerBuildingCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Requests to draw a building card from the lower building card list.
- drawLowerBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Requests to draw a building card from the lower list.
- drawLowerBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Requests to draw a building card from the lower list.
- DrawLowerBuildingCard - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
NetworkEvent to draw a building card from the lower card list.
- DrawLowerBuildingCard(String, int) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.DrawLowerBuildingCard
-
Class constructor.
- drawLowerBuildingCardByIndex(Player, int) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Attempts to draw the lower building card at the specified index for the specified player.
- drawLowerTribeCard(int) - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Requests to draw a tribe card from the lower list.
- drawLowerTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Attempts to draw a lower tribe card for the specified player from the specified position.
- drawLowerTribeCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.IClient
-
Requests to draw a tribe card from the lower tribe card list.
- drawLowerTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Requests to draw a tribe card from the lower list.
- drawLowerTribeCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Requests to draw a tribe card from the lower tribe card list.
- drawLowerTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Requests to draw a tribe card from the lower list.
- drawLowerTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Requests to draw a tribe card from the lower list.
- DrawLowerTribeCard - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
NetworkEvent to draw a tribe card from the lower card list.
- DrawLowerTribeCard(String, int) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.DrawLowerTribeCard
-
Class constructor.
- drawLowerTribeCardByIndex(Player, int) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Attempts to draw the lower tribe card at the specified index for the specified player.
- drawMyHandList(ArrayList) - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
-
Renders a single card-type pile in the hand area, or an invisible placeholder if the list is empty.
- drawUpperBuilding() - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
-
Renders the top card of the upper building stack with a count badge; clicking opens the selection popup.
- drawUpperBuildingCard(int) - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Requests to draw a building card from the upper list.
- drawUpperBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Attempts to draw an upper building card for the specified player from the specified position.
- drawUpperBuildingCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.IClient
-
Requests to draw a building card from the upper building card list.
- drawUpperBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Requests to draw a building card from the upper list.
- drawUpperBuildingCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Requests to draw a building card from the upper building card list.
- drawUpperBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Requests to draw a building card from the upper list.
- drawUpperBuildingCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Requests to draw a building card from the upper list.
- DrawUpperBuildingCard - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
NetworkEvent to draw a building card from the upper card list.
- DrawUpperBuildingCard(String, int) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.DrawUpperBuildingCard
-
Class constructor.
- drawUpperBuildingCardByIndex(Player, int) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Attempts to draw the upper building card at the specified index for the specified player.
- drawUpperTribeCard(int) - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Requests to draw a tribe card from the upper list.
- drawUpperTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Attempts to draw an upper tribe card for the specified player from the specified position.
- drawUpperTribeCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.IClient
-
Requests to draw a tribe card from the upper tribe card list.
- drawUpperTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Requests to draw a tribe card from the upper list.
- drawUpperTribeCard(String, int) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Requests to draw a tribe card from the upper tribe card list.
- drawUpperTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Requests to draw a tribe card from the upper list.
- drawUpperTribeCard(String, int) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Requests to draw a tribe card from the upper list.
- DrawUpperTribeCard - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
NetworkEvent to draw a tribe card from the upper card list.
- DrawUpperTribeCard(String, int) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.DrawUpperTribeCard
-
Class constructor.
- drawUpperTribeCardByIndex(Player, int) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Attempts to draw the upper tribe card at the specified index for the specified player.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form