# 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|Serialized Form

## D

Dashboard - Class in it.polimi.ingsw.is25am31.view.gui
  Controller for the main game dashboard during flight phase 1.
Dashboard() - Constructor for class it.polimi.ingsw.is25am31.view.gui.Dashboard
Dashboard2 - Class in it.polimi.ingsw.is25am31.view.gui
  Controller for the main game dashboard during flight phase 2.
Dashboard2() - Constructor for class it.polimi.ingsw.is25am31.view.gui.Dashboard2
Deck - Class in it.polimi.ingsw.is25am31.model.cards
  The `Deck` class represents a collection of cards used within the game.
Deck(int) - Constructor for class it.polimi.ingsw.is25am31.model.cards.Deck
  Creates 4 sub decks of 2 level 2 cards and 1 level 1 card if the game level is 2, otherwise creates a deck of 8 test flight cards.
deck1Button(ActionEvent) - Method in class it.polimi.ingsw.is25am31.view.gui.Stage2Controller
  Handles deck 1 button click to view the first sub-deck.
deck2Button(ActionEvent) - Method in class it.polimi.ingsw.is25am31.view.gui.Stage2Controller
  Handles deck 2 button click to view the second sub-deck.
deck3Button(ActionEvent) - Method in class it.polimi.ingsw.is25am31.view.gui.Stage2Controller
  Handles deck 3 button click to view the third sub-deck.
diceResult(int) - Method in class it.polimi.ingsw.is25am31.network.rmi.client.RmiClient
  Displays the result of a dice roll to the client.
diceResult(int) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketClient
  Displays the result of a dice roll to the client.
diceResult(int) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketClientHandler
  Sends the result of a dice roll to the client.
diceResult(int) - Method in interface it.polimi.ingsw.is25am31.network.VirtualView
  Displays the result of a dice roll to the client.
diceResult(int) - Method in class it.polimi.ingsw.is25am31.view.ClientModel
  Displays the result of a dice roll and updates the client state.
DiceResultCommand - Class in it.polimi.ingsw.is25am31.network.socket.serverClientMessages
  Represents a command sent from the server to the client to communicate the result of a dice roll.
DiceResultCommand(int) - Constructor for class it.polimi.ingsw.is25am31.network.socket.serverClientMessages.DiceResultCommand
  Constructs a new `DiceResultCommand`.
DOUBLE - Enum constant in enum class it.polimi.ingsw.is25am31.model.components.Connector
DOWNLEFT - Enum constant in enum class it.polimi.ingsw.is25am31.model.components.OrientationShield
DOWNRIGHT - Enum constant in enum class it.polimi.ingsw.is25am31.model.components.OrientationShield
drawCard() - Method in class it.polimi.ingsw.is25am31.model.cards.Deck
drawCard(int) - Method in class it.polimi.ingsw.is25am31.model.Game
  Draws next card for flight phase
drawCard(UUID) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows the leader player to draw a card from the deck.
drawCard(UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles request to draw a card from the deck.
drawCard(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to draw a card.
drawCard(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to draw a card for the specified client.
drawCard(UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Requests the server to draw a card for the specified client.
DrawCardCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to draw a new card.
DrawCardCommand(UUID) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.DrawCardCommand
  Constructs a new `DrawCardCommand`.
drawCardTurnHandler(Card, Controller, Map<UUID, ClientData>, Map<UUID, ClientData>, Game, AsyncRunner) - Static method in class it.polimi.ingsw.is25am31.network.UpdateHandler
  Handles the turn logic after a card has been drawn.
drawComponent() - Method in class it.polimi.ingsw.is25am31.model.Game
  Draws a random face-down component
drawComponent(UUID) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows a client to draw a random face-down component.
drawFaceDownComponent(UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles a request to draw a component from face down components,
drawFaceDownComponent(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to draw a face-down component.
drawFaceDownComponent(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to draw a component from face down components,
drawFaceDownComponent(UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Requests the server to draw a face-down component for the specified client.
DrawFaceDownComponentCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to draw a face-down component.
DrawFaceDownComponentCommand(UUID) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.DrawFaceDownComponentCommand
  Constructs a new `DrawFaceDownComponentCommand`.
drawFaceUpComponent(int, UUID) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows a client to draw a specific face-up component from the board.
drawFaceUpComponent(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles a request to draw a face up component.
drawFaceUpComponent(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to draw a face-up component at a specific index.
drawFaceUpComponent(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to draw a face up component.
drawFaceUpComponent(int, UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Requests the server to draw a face-up component at a specific index for the specified client.
drawFaceUpComponent(Component) - Method in class it.polimi.ingsw.is25am31.model.Game
  Draws a specific face-up component
DrawFaceUpComponentCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to draw a specific face-up component.
DrawFaceUpComponentCommand(UUID, int) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.DrawFaceUpComponentCommand
  Constructs a new `DrawFaceUpComponentCommand`.
drawFromReserved(int, UUID) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows a client to draw a component from their reserved components.
drawFromReserved(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles a request to draw a component from reserved components
drawFromReserved(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to draw from the reserved components at a specific index.
drawFromReserved(int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to draw a component from reserved components
drawFromReserved(int, UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Requests the server to draw a component from the reserved pile at a specific index.
DrawFromReservedCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to draw a component from the reserved components.
DrawFromReservedCommand(UUID, int) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.DrawFromReservedCommand
  Constructs a new `DrawFromReservedCommand`.
drawShip(Ship) - Method in class it.polimi.ingsw.is25am31.view.gui.GuiRenderer
  Draws a ship on the appropriate view based on the current context.
drawShip(Ship) - Method in class it.polimi.ingsw.is25am31.view.tui.TuiRenderer
  Draws the entire ship grid in a formatted ASCII art representation.
drawShip(Ship) - Method in interface it.polimi.ingsw.is25am31.view.UiRenderer
  Renders a ship on the UI.
drawSubDeck(int) - Method in class it.polimi.ingsw.is25am31.model.Game
  Views a sub-deck of cards
drawSubDeck(UUID, int) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows a client to view a sub-deck of cards.

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|Serialized Form