# 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

## A

ABANDONED - Enum constant in enum class it.polimi.ingsw.is25am31.model.cards.EffectType
AbandonedShipCard - Class in it.polimi.ingsw.is25am31.model.cards
  Represents a card that allows players to interact with an abandoned ship in the game.
AbandonedShipCard(int, int, String, boolean, int, int, int) - Constructor for class it.polimi.ingsw.is25am31.model.cards.AbandonedShipCard
AbandonedStationCard - Class in it.polimi.ingsw.is25am31.model.cards
  Represents a card that allows players to interact with an abandoned station in the game.
AbandonedStationCard(int, int, String, boolean, int, List<Good>, int) - Constructor for class it.polimi.ingsw.is25am31.model.cards.AbandonedStationCard
abandonRace(int) - Method in class it.polimi.ingsw.is25am31.model.Game
  Removes player from current race
abandonRace(UUID) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Handles a player abandoning the race.
abandonRace(UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles a request to abandon the race.
abandonRace(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to abandon the race.
abandonRace(UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to abandon the race.
abandonRace(UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Notifies the server that a client is abandoning the race, removing them from the active game.
AbandonRaceCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to abandon the race.
AbandonRaceCommand(UUID) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.AbandonRaceCommand
  Constructs an `AbandonRaceCommand` with the specified client ID.
activate() - Method in class it.polimi.ingsw.is25am31.model.components.Cannon
  Activates this multi-power cannon for the next fire calculation
activate() - Method in class it.polimi.ingsw.is25am31.model.components.Component
activate() - Method in class it.polimi.ingsw.is25am31.model.components.Engine
  Activates this multi-power engine for the next thrust calculation
activate() - Method in class it.polimi.ingsw.is25am31.model.components.ShieldGenerator
  Activates the shield generator, making it ready for one-time use.
activateAll() - Method in class it.polimi.ingsw.is25am31.view.gui.SelectedTileController
  Enables all interactive buttons in the view.
activateCannon(int, int, int, int) - Method in class it.polimi.ingsw.is25am31.model.player.Ship
  Activates a cannon at (x1,y1) consuming one battery from (x2,y2).
activateEngine(int, int, int, int) - Method in class it.polimi.ingsw.is25am31.model.player.Ship
  Activates an engine at (x1,y1) consuming one battery from (x2,y2).
activateShield(int, int, int, int) - Method in class it.polimi.ingsw.is25am31.model.player.Ship
  Activates a shield generator at (x1,y1) consuming one battery from (x2,y2).
addAlien(AlienColor) - Method in class it.polimi.ingsw.is25am31.model.components.Cabin
  Attempts to add an alien to the cabin if empty
addCargoCredits(int) - Method in class it.polimi.ingsw.is25am31.model.player.Player
  Adds credits from cargo sales to the total
addClient() - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Adds a new client to the game, assigning a player ID.
addComponent(int, int, Component) - Method in class it.polimi.ingsw.is25am31.model.player.Ship
  Attempts to add a component at specified grid position if slot is usable.
addComponentFromShip(int, int, int, int) - Method in class it.polimi.ingsw.is25am31.model.player.Ship
  Moves a reserved component from (x,y) into a usable slot (line,column).
addComponentToMyShip(int, int) - Method in class it.polimi.ingsw.is25am31.view.ClientModel
  Adds the current component to the client's ship at the specified coordinates.
addComponentToShip(int, int, int, Component) - Method in class it.polimi.ingsw.is25am31.model.Game
  Adds component to player's ship
addComponentToShip(UUID, int, int, Component) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Allows a client to add a component to their ship at a specified position.
addContains(Good) - Method in class it.polimi.ingsw.is25am31.model.components.CargoHold
  Attempts to add a good to the hold
addContains(Good) - Method in class it.polimi.ingsw.is25am31.model.components.Component
addCosmicCredits(int) - Method in class it.polimi.ingsw.is25am31.model.player.Player
  Adds cosmic credits to the current total
addPlayer(int, String) - Method in class it.polimi.ingsw.is25am31.model.Game
  Adds a player with unique id and nickname to the game
addPlayer(UUID, String) - Method in class it.polimi.ingsw.is25am31.controller.Controller
  Adds a new player to the game with a nickname.
addStage(Stage) - Method in class it.polimi.ingsw.is25am31.view.gui.CloseStageManager
  Registers a stage with the manager and sets up its close request handler.
AlienColor - Enum Class in it.polimi.ingsw.is25am31.model.components
  Enumeration representing the available alien colors in the game.
AlienLifeSupport - Class in it.polimi.ingsw.is25am31.model.components
  Represents a specialized component which, if attached to the ship next to a cabin, ensures it can contain alien inhabitants.
AlienLifeSupport(int, String, Map<Side, Connector>, Side, AlienColor) - Constructor for class it.polimi.ingsw.is25am31.model.components.AlienLifeSupport
applyCardEffect(Player, Map<String, Object>) - Method in class it.polimi.ingsw.is25am31.model.Game
  Applies current card's effect to player
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.AbandonedShipCard
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.AbandonedStationCard
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.Card
  Applies the specific card effect relative to the current game state and the passed parameters.
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.CombatZoneCard
  Dispatches between the level 1 and level 2 methods.
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.EpidemicCard
  if checked component is a cabin with at least one crew member, and it is adjacent to another cabin with at least one crew member, one crew member gets removed
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.MeteorSwarmCard
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.OpenSpaceCard
  receives player with relative engine power p, player's rocket advances p squares
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.PiratesCard
  Determines whether the player won or lost, gives them coins (win) or shoots cannon hits at them (defeat).
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.PlanetsCard
  Receives a cargo hold selected by the player, puts the good relative to the iteration belonging to the selected planet into the cargo hold
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.SlaversCard
  determines whether the player won or lost, adds coins and removes flight days if player won, removes crew members if player lost
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.SmugglersCard
  determines whether the player won or lost, adds goods and removes flight days if player won, removes goods if player lost
applyEffect(Player, Context) - Method in class it.polimi.ingsw.is25am31.model.cards.StardustCard
  player rocket moves back one square for each exposed connector
ASSEMBLE - Enum constant in enum class it.polimi.ingsw.is25am31.model.gameboard.Phase
ASSEMBLE - Enum constant in enum class it.polimi.ingsw.is25am31.view.ClientState
assignRocketPositionsToFinishedPlayers(List<Player>) - Method in class it.polimi.ingsw.is25am31.model.Game
  Assigns starting positions based on build completion order
AsyncRunner - Class in it.polimi.ingsw.is25am31.network
  The `AsyncRunner` class provides a utility for executing tasks asynchronously using a single-threaded `ExecutorService`.
AsyncRunner() - Constructor for class it.polimi.ingsw.is25am31.network.AsyncRunner
AsyncRunner.SafeRunnable - Interface in it.polimi.ingsw.is25am31.network
  A functional interface similar to `Runnable`, but allows for methods that can throw `Exception`.
attachComponent(Component, int, int, UUID) - Method in class it.polimi.ingsw.is25am31.network.rmi.server.RmiServer
  Handles a request to attach specified component on player's ship at specified coordinates
attachComponent(Component, int, int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.client.SocketServerHandler
  Sends a command to the server for a client to attach a component at specified coordinates.
attachComponent(Component, int, int, UUID) - Method in class it.polimi.ingsw.is25am31.network.socket.server.SocketServer
  Handles a request to attach specified component on player's ship at specified coordinates
attachComponent(Component, int, int, UUID) - Method in interface it.polimi.ingsw.is25am31.network.VirtualServer
  Requests the server to attach a component to the client's ship at specified coordinates.
AttachComponentCommand - Class in it.polimi.ingsw.is25am31.network.socket.clientServerMessages
  Represents a command sent from the client to the server to attach a component to a specific position on the ship grid.
AttachComponentCommand(Component, int, int, UUID) - Constructor for class it.polimi.ingsw.is25am31.network.socket.clientServerMessages.AttachComponentCommand
  Constructs a new `AttachComponentCommand`.
automaticEngineLost(int) - Method in class it.polimi.ingsw.is25am31.model.Game
  Checks and handles engine loss elimination
automaticLost(int) - Method in class it.polimi.ingsw.is25am31.model.Game
  Automatically eliminates player if conditions met

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