Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- Game - Class in polimi.ingsw.am21.codex.model
- Game(int) - Constructor for class polimi.ingsw.am21.codex.model.Game
- Game(int, JSONArray) - Constructor for class polimi.ingsw.am21.codex.model.Game
- GAME - Enum constant in enum class polimi.ingsw.am21.codex.client.ClientContext
- GAME_ALREADY_EXISTS - Enum constant in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- GAME_ALREADY_STARTED - Enum constant in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- GAME_CREATED - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GAME_DELETED - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GAME_HALTED_UPDATE - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GAME_INIT - Enum constant in enum class polimi.ingsw.am21.codex.model.GameState
- GAME_NOT_FOUND - Enum constant in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- GAME_NOT_READY - Enum constant in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- GAME_OVER - Enum constant in enum class polimi.ingsw.am21.codex.client.ClientContext
- GAME_OVER - Enum constant in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- GAME_OVER - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GAME_OVER - Enum constant in enum class polimi.ingsw.am21.codex.model.GameState
- GAME_STARTED - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GAME_STATUS - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GameActionMessage - Class in polimi.ingsw.am21.codex.controller.messages.clientActions.game
- GameActionMessage(MessageType, UUID, String, String) - Constructor for class polimi.ingsw.am21.codex.controller.messages.clientActions.game.GameActionMessage
- gameAlreadyExists(String) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameAlreadyExists(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- GameAlreadyExistsException - Exception Class in polimi.ingsw.am21.codex.model.exceptions
- GameAlreadyExistsException(String) - Constructor for exception class polimi.ingsw.am21.codex.model.exceptions.GameAlreadyExistsException
- gameAlreadyStarted() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameAlreadyStarted() - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- GameAlreadyStartedException - Exception Class in polimi.ingsw.am21.codex.controller.exceptions
- GameAlreadyStartedException() - Constructor for exception class polimi.ingsw.am21.codex.controller.exceptions.GameAlreadyStartedException
- GameBoard - Class in polimi.ingsw.am21.codex.model.GameBoard
- GameBoard(List<PlayableCard>, List<PlayableCard>, List<PlayableCard>, List<ObjectiveCard>) - Constructor for class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
-
Constructor Initializes the decks and draws the first cards
- GameBoard(CardsLoader) - Constructor for class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
- GameBoard(Deck<PlayableCard>, Deck<PlayableCard>, Deck<PlayableCard>, Deck<ObjectiveCard>, CardPair<PlayableCard>, CardPair<PlayableCard>, CardPair<ObjectiveCard>) - Constructor for class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
-
Constructor with the decks
- GameController - Class in polimi.ingsw.am21.codex.controller
- GameController() - Constructor for class polimi.ingsw.am21.codex.controller.GameController
- GameController.EventDispatchMode - Enum Class in polimi.ingsw.am21.codex.controller
-
Used to describe how the events should be dispatched under different circumstances.
- GameController.UserGameContext - Class in polimi.ingsw.am21.codex.controller
- GameController.UserGameContext.ConnectionStatus - Enum Class in polimi.ingsw.am21.codex.controller
- GameController.UserGameContextStatus - Enum Class in polimi.ingsw.am21.codex.controller
-
The status of a user
- gameCreated(String, int, int) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameCreated(String, int, int) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameCreated(String, int, int) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameCreated(String, int, int) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameCreated(String, int, int) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameCreated(String, int, int) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method used to process the game creation event.
- gameCreated(String, int, int) - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameCreated(String, int, int) - Method in interface polimi.ingsw.am21.codex.view.View
- GameCreatedMessage - Class in polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby
- GameCreatedMessage(String, int, int) - Constructor for class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameCreatedMessage
- gameDeleted(String) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameDeleted(String) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameDeleted(String) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameDeleted(String) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameDeleted(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameDeleted(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method used to process the game deletion event.
- gameDeleted(String) - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameDeleted(String) - Method in interface polimi.ingsw.am21.codex.view.View
- GameDeletedMessage - Class in polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby
- GameDeletedMessage(String) - Constructor for class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameDeletedMessage
- GameEntry - Class in polimi.ingsw.am21.codex.client.localModel
-
CLass that represents a game available in the game menu.
- GameEntry(String, Integer) - Constructor for class polimi.ingsw.am21.codex.client.localModel.GameEntry
-
GameEntry constructor.
- GameEntry(String, Integer, Integer) - Constructor for class polimi.ingsw.am21.codex.client.localModel.GameEntry
-
GameEntry constructor.
- GameErrorListener - Interface in polimi.ingsw.am21.codex.controller.listeners
- GameEventListener - Interface in polimi.ingsw.am21.codex.controller.listeners
- gameHalted() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameHalted(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameHalted(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameHalted(String) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.Cli
- GameHaltedMessage - Class in polimi.ingsw.am21.codex.controller.messages.viewUpdate.game
- GameHaltedMessage(String, Boolean) - Constructor for class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.GameHaltedMessage
- GameInfo - Class in polimi.ingsw.am21.codex.controller.listeners
- GameInfo(String, List<GameInfo.GameInfoUser>, Integer, Integer, CardIdPair, CardIdPair, CardIdPair, Integer, Integer) - Constructor for class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- GameInfo(String, List<GameInfo.GameInfoUser>, Integer, Integer, CardPair<ObjectiveCard>, CardPair<PlayableCard>, CardPair<PlayableCard>, Integer, Integer) - Constructor for class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- GameInfo.GameInfoUser - Class in polimi.ingsw.am21.codex.controller.listeners
-
Represents a player in a game
- GameInfoUser(String, TokenColor, UUID, GameController.UserGameContext.ConnectionStatus, Map<Position, Pair<Integer, CardSideType>>, List<Integer>, Integer, Integer, Set<Position>, Set<Position>, Integer, Map<ResourceType, Integer>, Map<ObjectType, Integer>) - Constructor for class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- GameManager - Class in polimi.ingsw.am21.codex.model
- GameManager() - Constructor for class polimi.ingsw.am21.codex.model.GameManager
- gameNotFound(String) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameNotFound(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- GameNotFoundException - Exception Class in polimi.ingsw.am21.codex.controller.exceptions
- GameNotFoundException(String) - Constructor for exception class polimi.ingsw.am21.codex.controller.exceptions.GameNotFoundException
- gameNotReady() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameNotReady() - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- GameNotReadyException - Exception Class in polimi.ingsw.am21.codex.model.exceptions
- GameNotReadyException() - Constructor for exception class polimi.ingsw.am21.codex.model.exceptions.GameNotReadyException
- gameNotStarted() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameNotStarted() - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- gameOver() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameOver() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameOver() - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameOver() - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameOver() - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameErrorListener
- gameOver() - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameOver() - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method used to process the event of the game ending.
- gameOver() - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameOver() - Method in interface polimi.ingsw.am21.codex.view.View
- GameOverException - Exception Class in polimi.ingsw.am21.codex.model.exceptions
- GameOverException() - Constructor for exception class polimi.ingsw.am21.codex.model.exceptions.GameOverException
- GameOverMessage - Class in polimi.ingsw.am21.codex.controller.messages.viewUpdate.game
- GameOverMessage() - Constructor for class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.GameOverMessage
- gameResumed() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameResumed(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameResumed(String) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameResumed(String) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.Cli
- gameStarted(String, GameInfo) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- gameStarted(String, GameInfo) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- gameStarted(String, GameInfo) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- gameStarted(String, GameInfo) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- gameStarted(String, GameInfo) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- gameStarted(String, GameInfo) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method used to process the event of a game starting.
- gameStarted(String, GameInfo) - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- gameStarted(String, GameInfo) - Method in interface polimi.ingsw.am21.codex.view.View
- GameStartedMessage - Class in polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby
- GameStartedMessage(GameInfo) - Constructor for class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameStartedMessage
- GameState - Enum Class in polimi.ingsw.am21.codex.model
- GEOMETRIC - Enum constant in enum class polimi.ingsw.am21.codex.model.Cards.Objectives.ObjectiveType
- GeometricObjective - Class in polimi.ingsw.am21.codex.model.Cards.Objectives
- GeometricObjective(Map<AdjacentPosition, ResourceType>) - Constructor for class polimi.ingsw.am21.codex.model.Cards.Objectives.GeometricObjective
- get() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer.ClientContextContainer
- GET_AVAILABLE_GAME_LOBBIES - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GET_GAME_STATUS - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GET_OBJECTIVE_CARDS - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- GET_STARTER_CARD_SIDE - Enum constant in enum class polimi.ingsw.am21.codex.controller.messages.MessageType
- getAllModifiers() - Static method in enum class polimi.ingsw.am21.codex.view.TUI.utils.commons.Color
- getAvailableColors() - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets a list of all the available token colors in the lobby
- GetAvailableGameLobbiesMessage - Class in polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby
- GetAvailableGameLobbiesMessage(UUID) - Constructor for class polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby.GetAvailableGameLobbiesMessage
- getAvailableObjectives() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalLobby
- getAvailableObjectives() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
-
Gets the objectives the local player can choose from in the lobby
- getAvailableSpots() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getAvailableSpots() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getAvailableSpots() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getAvailableSpots() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getAvailableSpots() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getAvailableTokens() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalLobby
- getAvailableTokens(String) - Method in class polimi.ingsw.am21.codex.controller.GameController
- getBackPermanentResources() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
- getBasePath() - Static method in interface polimi.ingsw.am21.codex.view.GUI.utils.GuiElement
-
Gets the base path for all images
- getBoard() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getCardFromId(int) - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- getCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.server.lobby.StarterCardSidesMessage
- getCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getCardPlaced() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getCardsFromIds(List<Integer>) - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- getCardSideType() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SelectCardSideMessage
- getCardSource() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.NextTurnActionMessage
- getCardSource() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getChat() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getChat() - Method in class polimi.ingsw.am21.codex.model.Game
- getChoseObjectiveCard() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getClientContextContainer() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getCode() - Method in exception class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException
- getCode() - Method in class polimi.ingsw.am21.codex.controller.messages.serverErrors.InvalidActionMessage
- getCode(ColorStyle) - Method in enum class polimi.ingsw.am21.codex.view.TUI.utils.commons.Color
-
Gets the modified code for the given style
- getCol() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
- getColor() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SetTokenColorMessage
- getColor() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getColor() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetTokenColorMessage
- getColor() - Method in interface polimi.ingsw.am21.codex.model.Cards.CornerContentType
-
Returns the color associated to the content
- getColor() - Method in enum class polimi.ingsw.am21.codex.model.Cards.ObjectType
- getColor() - Method in enum class polimi.ingsw.am21.codex.model.Cards.ResourceType
- getColor() - Method in enum class polimi.ingsw.am21.codex.model.Player.TokenColor
- getColor() - Method in enum class polimi.ingsw.am21.codex.view.NotificationType
- getColor() - Method in interface polimi.ingsw.am21.codex.view.TUI.utils.commons.Colorable
- getColorableLength(Colorable, int, ColorStyle) - Static method in class polimi.ingsw.am21.codex.view.TUI.utils.CliUtils
-
Gets the length of a colorable element when colorized with the given style
- getColorClass(ResourceType) - Static method in class polimi.ingsw.am21.codex.view.GUI.utils.GuiUtils
-
Gets the CSS color class for a given resource type
- getConnectionID() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getConnectionID() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.ClientMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerChoseObjectiveCardMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerJoinedLobbyMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerLeftLobbyMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetNicknameMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetTokenColorMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.PlayerConnectionChangedMessage
- getConnectionID() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getConnectionStatus() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getConnectionStatus() - Method in class polimi.ingsw.am21.codex.controller.GameController.UserGameContext
- getConnectionStatus() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getConnectionType() - Method in class polimi.ingsw.am21.codex.connection.client.ClientConnectionHandler
- getContent() - Method in class polimi.ingsw.am21.codex.model.Cards.Corner
- getContent() - Method in class polimi.ingsw.am21.codex.model.Chat.ChatMessage
- getContext() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.UserContextMessage
- getCorners() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableSide
- getCoveredCorners() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
- getCurrentPlayer() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
-
Gets the player that is currently playing their turn.
- getCurrentPlayer() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the current player.
- getCurrentPlayerIndex() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the index of current player.
- getCurrentPlayers() - Method in class polimi.ingsw.am21.codex.client.localModel.GameEntry
- getCurrentPlayers() - Method in class polimi.ingsw.am21.codex.controller.messages.server.lobby.AvailableGameLobbiesMessage
- getCurrentSlots() - Method in class polimi.ingsw.am21.codex.controller.GameController
-
Returns the current slots for each game (mapped by ID) managed by this controller
- getCurrentSlots() - Method in class polimi.ingsw.am21.codex.model.GameManager
-
Returns the current number of players in each game.
- getCurrentUser() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getCurrentUserIndex() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getDeck() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.NextTurnActionMessage
- getDeck() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getDefaultPort() - Method in enum class polimi.ingsw.am21.codex.connection.ConnectionType
- getDrawnCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getErrorCode() - Method in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- getErrorCode(Integer) - Method in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- getErrorMessage() - Method in enum class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException.InvalidActionCode
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Card
-
Generates a function that, when called by passing the player board, returns the points of the card.
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Objectives.CountingObjective
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Objectives.GeometricObjective
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Objectives.Objective
-
Function that takes in a playerboard and the points of the objective card and returns the rewarded points
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Objectives.ObjectiveCard
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.GoldCardFrontSide
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableBackSide
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableSide
-
Generates a function that should be called to get the points that should be attributed to a player when they place a card on this side.
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.ResourceCardFrontSide
- getEvaluator() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.StarterCardFrontSide
- getFirst() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardPair.CardPairBase
- getForbiddenSpots() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getForbiddenSpots() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getForbiddenSpots() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getForbiddenSpots() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getForbiddenSpots() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getFullMessage() - Method in exception class polimi.ingsw.am21.codex.model.Lobby.exceptions.NicknameAlreadyTakenException
- getGame(String) - Method in class polimi.ingsw.am21.codex.controller.GameController
-
Returns the game with the given ID, if it exists
- getGame(String) - Method in class polimi.ingsw.am21.codex.model.GameManager
- getGameBoard() - Method in class polimi.ingsw.am21.codex.model.Game
- getGameId() - Method in class polimi.ingsw.am21.codex.client.localModel.GameEntry
- getGameId() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getGameId() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalLobby
- getGameId() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.GameController.UserGameContext
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.GameActionMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.CreateGameMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby.GetObjectiveCardsMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby.GetStarterCardSideMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameCreatedMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameDeletedMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameStartedMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerChoseObjectiveCardMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetNicknameMessage
- getGameId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetTokenColorMessage
- getGameID() - Method in exception class polimi.ingsw.am21.codex.controller.exceptions.GameNotFoundException
- getGameID() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getGameID() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo
- getGameID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.ChatMessageMessage
- getGameID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.GameHaltedMessage
- getGameID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.RemainingRoundsMessage
- getGameID() - Method in exception class polimi.ingsw.am21.codex.model.exceptions.GameAlreadyExistsException
- getGameID() - Method in exception class polimi.ingsw.am21.codex.model.Lobby.exceptions.LobbyFullException
- getGameInfo() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getGameInfo() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameStartedMessage
- getGameName() - Method in exception class polimi.ingsw.am21.codex.model.exceptions.InvalidGameNameException
- getGames() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalMenu
- getGames() - Method in class polimi.ingsw.am21.codex.connection.client.ClientConnectionHandler
-
Retrieves the list of available games and displays them in the view
- getGames() - Method in class polimi.ingsw.am21.codex.connection.client.RMI.RMIClientConnectionHandler
- getGames() - Method in class polimi.ingsw.am21.codex.connection.client.TCP.TCPClientConnectionHandler
- getGames() - Method in interface polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandler
-
Gets the list of available game IDs
- getGames() - Method in class polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandlerImpl
- getGames() - Method in class polimi.ingsw.am21.codex.controller.GameController
-
Returns the set of games (by ID) managed by this controller
- getGames() - Method in class polimi.ingsw.am21.codex.model.GameManager
- getGamesCurrentPlayers() - Method in interface polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandler
-
Gets the current number of players in each game
- getGamesCurrentPlayers() - Method in class polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandlerImpl
- getGamesCurrentPlayers() - Method in class polimi.ingsw.am21.codex.controller.GameController
- getGamesMaxPlayers() - Method in interface polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandler
-
Gets the maximum number of players in each game
- getGamesMaxPlayers() - Method in class polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandlerImpl
- getGamesMaxPlayers() - Method in class polimi.ingsw.am21.codex.controller.GameController
- getGameState() - Method in class polimi.ingsw.am21.codex.connection.client.TCP.TCPClientConnectionHandler
- getGoldCards() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getGoldCards() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getGoldCards() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- getGoldCards() - Method in class polimi.ingsw.am21.codex.model.Game
- getGoldCards() - Method in class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
- getGoldDeckTopCard() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getGoldDeckTopCardId() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getGoldDeckTopCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getHalted() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.GameHaltedMessage
- getHand() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getHand() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getHand() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getHandIDs() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getHandIDs() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getId() - Method in class polimi.ingsw.am21.codex.model.Cards.Card
- getIdentifier() - Method in exception class polimi.ingsw.am21.codex.controller.exceptions.PlayerNotFoundException
- getIdentifier() - Method in exception class polimi.ingsw.am21.codex.model.exceptions.PlayerNotFoundGameException
- getIdPair() - Method in class polimi.ingsw.am21.codex.controller.messages.server.lobby.ObjectiveCardsMessage
- getImagePath() - Method in class polimi.ingsw.am21.codex.model.Cards.Card
- getImagePath() - Method in enum class polimi.ingsw.am21.codex.model.Cards.ObjectType
- getImagePath() - Method in enum class polimi.ingsw.am21.codex.model.Cards.ResourceType
- getImagePath() - Method in enum class polimi.ingsw.am21.codex.model.Player.TokenColor
- getImagePath() - Method in interface polimi.ingsw.am21.codex.view.GUI.utils.GuiElement
-
Gets the path of the image representing the element, relative to the base path.
- getImagePath(CardSideType) - Method in class polimi.ingsw.am21.codex.model.Cards.Card
-
Returns the path of the image of the card, given the side type
- getIndex() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getIndex() - Method in enum class polimi.ingsw.am21.codex.model.Cards.CornerPosition
- getInGame() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo.LobbyInfoUser
- getInstance() - Static method in class polimi.ingsw.am21.codex.view.GUI.Gui
- getIsInitializedLatch() - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- getKingdom() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
- getListener() - Method in class polimi.ingsw.am21.codex.controller.GameController.UserGameContext
- getLobby() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the lobby associated with the game.
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.JoinLobbyMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SelectCardSideMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SelectObjectiveMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SetNicknameMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SetTokenColorMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerJoinedLobbyMessage
- getLobbyId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerLeftLobbyMessage
- getLobbyIds() - Method in class polimi.ingsw.am21.codex.controller.messages.server.lobby.AvailableGameLobbiesMessage
- getLobbyObjectiveCards(UUID) - Method in interface polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandler
-
Gets the ids of the objective cards that the lobby has to offer to the player
- getLobbyObjectiveCards(UUID) - Method in class polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandlerImpl
- getLobbyObjectiveCards(UUID) - Method in class polimi.ingsw.am21.codex.controller.GameController
- getLobbyStarterCard(UUID) - Method in interface polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandler
-
Gets the id of the starter card that the lobby has to offer to the player
- getLobbyStarterCard(UUID) - Method in class polimi.ingsw.am21.codex.connection.server.RMI.RMIServerConnectionHandlerImpl
- getLobbyStarterCard(UUID) - Method in class polimi.ingsw.am21.codex.controller.GameController
- getLobbyUsers() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getLobbyUsersInfo() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.LobbyInfoMessage
- getLocalGameBoard() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getLocalLobby() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getLocalMenu() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getLocalModel() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- getLocalModel() - Method in class polimi.ingsw.am21.codex.view.GUI.Gui
- getLocalModel() - Method in class polimi.ingsw.am21.codex.view.TUI.utils.Cli
- getLocalModel() - Method in interface polimi.ingsw.am21.codex.view.View
- getMaxPlayers() - Method in class polimi.ingsw.am21.codex.client.localModel.GameEntry
- getMaxPlayers() - Method in class polimi.ingsw.am21.codex.controller.messages.server.lobby.AvailableGameLobbiesMessage
- getMaxPlayers() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameCreatedMessage
- getMaxPlayers() - Method in class polimi.ingsw.am21.codex.model.Game
- getMaxSlots() - Method in class polimi.ingsw.am21.codex.controller.GameController
-
Returns the maximum slots for each game (mapped by ID) managed by this controller
- getMaxSlots() - Method in class polimi.ingsw.am21.codex.model.GameManager
-
Returns the maximum number of players in each game.
- getMessage() - Method in exception class polimi.ingsw.am21.codex.controller.exceptions.IncompleteLobbyPlayerException
- getMessage() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.SendChatMessage
- getMessage() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.ChatMessageMessage
- getMessage() - Method in enum class polimi.ingsw.am21.codex.view.Notification
- getModelPosition() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
-
Calculates the model position corresponding to this view position
- getNewPairCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getNewPlayerScore() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getNewScores() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerScoresUpdateMessage
- getNextPlayer() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
-
Gets the player that is supposed to play next (assuming the game is not ending)
- getNickname() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.GameController.UserGameContext
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo.LobbyInfoUser
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.SetNicknameMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerChoseObjectiveCardMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetNicknameMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.PlayerSetTokenColorMessage
- getNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.PlayerConnectionChangedMessage
- getNickname() - Method in exception class polimi.ingsw.am21.codex.model.exceptions.PlayerNotFoundGameException
- getNickname() - Method in exception class polimi.ingsw.am21.codex.model.Lobby.exceptions.NicknameAlreadyTakenException
- getNickname() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getNickname() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getNotes() - Method in exception class polimi.ingsw.am21.codex.controller.exceptions.InvalidActionException
- getNotes() - Method in class polimi.ingsw.am21.codex.controller.messages.serverErrors.InvalidActionMessage
- getNotificationType() - Method in enum class polimi.ingsw.am21.codex.view.Notification
- getObjectiveCard() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getObjectiveCard() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getObjectiveCard() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getObjectiveCardChosen() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo.LobbyInfoUser
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.connection.client.ClientConnectionHandler
-
Gets the objective cards the client should choose from
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.connection.client.RMI.RMIClientConnectionHandler
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.connection.client.TCP.TCPClientConnectionHandler
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.model.Game
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
- getObjectiveCards() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getObjectiveCards(Pair<Integer, Integer>) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- getObjectiveCards(Pair<Integer, Integer>) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getObjectiveCards(Pair<Integer, Integer>) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- getObjectiveCards(Pair<Integer, Integer>) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- getObjectiveCards(Pair<Integer, Integer>) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- getObjectiveCards(Pair<Integer, Integer>) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method to process the event of a client requesting their secret objective card
- getObjectiveCards(Pair<Integer, Integer>) - Method in interface polimi.ingsw.am21.codex.view.View
- GetObjectiveCardsMessage - Class in polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby
- GetObjectiveCardsMessage(UUID, String) - Constructor for class polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby.GetObjectiveCardsMessage
- getObjectivesIfNull() - Method in class polimi.ingsw.am21.codex.connection.client.ClientConnectionHandler
- getObjects() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getObjects() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getObjects() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getOppositeCornerPosition() - Method in enum class polimi.ingsw.am21.codex.model.Cards.CornerPosition
- getParent() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.ExceptionLoader.ExceptionLayout
- getParent() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.NotificationLoader.NotificationLayout
- getParent() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.RulebookHandler.RulebookLayout
- getPermanentResources() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableBackSide
- getPlaceabilityChecker() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.GoldCardFrontSide
- getPlaceabilityChecker() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableSide
-
Generates a function that should be called to get whether a side is placeable or not given a certain PlayerBoard.
- getPlaceableCardSides() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getPlayedCards() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getPlayedCards() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getPlayedCardsByOrder() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getPlayedCardsByPosition() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getPlayedSide() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
-
Gets the currently played side, if any
- getPlayedSideType() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
- getPlayer() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
-
Gets the local player associated with the client
- getPlayer(String) - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets a player from the nickname
- getPlayerByNickname(String) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getPlayerHandCardNumber() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.PlaceCardMessage
- getPlayerHandCardNumber() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getPlayerId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getPlayerID() - Method in exception class polimi.ingsw.am21.codex.model.exceptions.PlayerNotFoundGameException
- getPlayerIndex() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getPlayerNickname() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
-
Gets the nickname of the local player associated with the client
- getPlayerNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.GameActionMessage
- getPlayerNickname(UUID) - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets the nickname of the player in the lobby.
- getPlayerObjectiveCards(UUID) - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Retrieves the objective cards associated with a player in the lobby.
- getPlayers() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getPlayers() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalLobby
- getPlayers() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.lobby.CreateGameMessage
- getPlayers() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.lobby.GameCreatedMessage
- getPlayers() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the players in the game.
- getPlayersCount() - Method in class polimi.ingsw.am21.codex.model.Game
- getPlayersCount() - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets the current count of players in the lobby.
- getPlayersInfo() - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets the information of all the players in the lobby.
- getPlayersSpotsLeft() - Method in class polimi.ingsw.am21.codex.model.Game
- getPlayerState(String) - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the state of a player.
- getPlayerTokenColor(UUID) - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets the token color of the player in the lobby.
- getPoints() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getPoints() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getPoints() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getPosition() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.PlaceCardMessage
- getPosition() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getReason() - Method in exception class polimi.ingsw.am21.codex.model.Player.IllegalPlacingPositionException
- getRecipient() - Method in class polimi.ingsw.am21.codex.model.Chat.ChatMessage
- getRemainingPlayerSlots() - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
-
Gets the number of remaining player slots in the lobby.
- getRemainingRounds() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getRemainingRounds() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getRemainingRounds() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the remaining rounds in the game.
- getRemoteListener() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- getResourceCards() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getResourceCards() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getResourceCards() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- getResourceCards() - Method in class polimi.ingsw.am21.codex.model.Game
- getResourceCards() - Method in class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
- getResourceDeckTopCard() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getResourceDeckTopCardId() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getResourceDeckTopCardId() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.NextTurnUpdateMessage
- getResources() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getResources() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getResources() - Method in class polimi.ingsw.am21.codex.model.Player.PlayerBoard
- getRounds() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.RemainingRoundsMessage
- getRow() - Method in class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
- getScoreBoard() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the scoreboard of the game.
- getSecond() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardPair.CardPairBase
- getSecretObjective() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalGameBoard
- getSecretObjectiveCard() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getSender() - Method in class polimi.ingsw.am21.codex.model.Chat.ChatMessage
- getServerReadyLatch() - Method in class polimi.ingsw.am21.codex.connection.server.AbstractServer
- getSide() - Method in class polimi.ingsw.am21.codex.controller.messages.clientActions.game.PlaceCardMessage
- getSide() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getSide(CardSideType) - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
-
Gets the desired side of the card
- getSides() - Method in class polimi.ingsw.am21.codex.model.Cards.Playable.PlayableCard
-
A [front, back] list of sides
- getStarterCard() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalLobby
- getStarterCard() - Method in class polimi.ingsw.am21.codex.connection.client.ClientConnectionHandler
-
Gets the starter card the player has to place
- getStarterCard() - Method in class polimi.ingsw.am21.codex.connection.client.RMI.RMIClientConnectionHandler
- getStarterCard() - Method in class polimi.ingsw.am21.codex.connection.client.TCP.TCPClientConnectionHandler
- getStarterCard() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getStarterCard(Integer) - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- getStarterCard(Integer) - Method in class polimi.ingsw.am21.codex.client.localModel.LocalModelContainer
- getStarterCard(Integer) - Method in class polimi.ingsw.am21.codex.client.localModel.remote.LocalModelGameEventListener
- getStarterCard(Integer) - Method in class polimi.ingsw.am21.codex.connection.server.TCP.TCPServerControllerListener
- getStarterCard(Integer) - Method in interface polimi.ingsw.am21.codex.controller.listeners.GameEventListener
- getStarterCard(Integer) - Method in interface polimi.ingsw.am21.codex.controller.listeners.RemoteGameEventListener
-
Interface method to process the event of a client requesting their starter card
- getStarterCard(Integer) - Method in interface polimi.ingsw.am21.codex.view.View
- getStarterCard(UUID) - Method in class polimi.ingsw.am21.codex.model.Lobby.Lobby
- getStarterCardID() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getStarterCards() - Method in class polimi.ingsw.am21.codex.model.Cards.Commons.CardsLoader
- GetStarterCardSideMessage - Class in polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby
- GetStarterCardSideMessage(UUID, String) - Constructor for class polimi.ingsw.am21.codex.controller.messages.clientRequest.lobby.GetStarterCardSideMessage
- getStarterSideType() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.PlayerJoinedGameMessage
- getState() - Method in class polimi.ingsw.am21.codex.model.Game
-
Gets the state of the game.
- getStatus() - Method in class polimi.ingsw.am21.codex.controller.GameController.UserGameContext
- getStatus() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getStatus() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.PlayerConnectionChangedMessage
- getStringColumn(int) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.CLIGridPosition
-
Gets the cursor column, considering the visible section PLEASE NOTE: This method does not account for modifiers offsets
- getStringRow(int) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.CLIGridPosition
-
Gets the cursor row, considering the visible section
- getStyleClass() - Method in enum class polimi.ingsw.am21.codex.view.NotificationType
- getTable(String[], ArrayList<String>...) - Static method in class polimi.ingsw.am21.codex.view.TUI.utils.CliUtils
-
Gets a table with the given headers and columns
- getTimestamp() - Method in class polimi.ingsw.am21.codex.model.Chat.ChatMessage
- getToken() - Method in class polimi.ingsw.am21.codex.client.localModel.LocalPlayer
- getToken() - Method in class polimi.ingsw.am21.codex.model.Player.Player
- getTokenColor() - Method in class polimi.ingsw.am21.codex.controller.listeners.FullUserGameContext
- getTokenColor() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo.GameInfoUser
- getTokenColor() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo.LobbyInfoUser
- getTokenColor() - Method in exception class polimi.ingsw.am21.codex.model.GameBoard.exceptions.TokenAlreadyTakenException
- getTokenColor() - Method in class polimi.ingsw.am21.codex.model.Player.Player.PlayerBuilder
- getTranslatedColumn(int) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.CLIGridPosition
-
Gets the grid column, considering the visible section
- getTranslatedRow(int) - Method in class polimi.ingsw.am21.codex.view.TUI.utils.CLIGridPosition
-
Gets the grid row, considering the visible section
- getType() - Method in class polimi.ingsw.am21.codex.controller.messages.Message
- getUpdatedObjects() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getUpdatedResources() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.CardPlacedMessage
- getUsers() - Method in class polimi.ingsw.am21.codex.controller.listeners.GameInfo
- getUsers() - Method in class polimi.ingsw.am21.codex.controller.listeners.LobbyUsersInfo
- getView() - Method in class polimi.ingsw.am21.codex.client.ClientGameEventHandler
- getWinnerNickname() - Method in class polimi.ingsw.am21.codex.controller.messages.viewUpdate.game.WinningPlayerMessage
- getX() - Method in class polimi.ingsw.am21.codex.model.Cards.Position
- getY() - Method in class polimi.ingsw.am21.codex.model.Cards.Position
- GOLD - Enum constant in enum class polimi.ingsw.am21.codex.model.Cards.Builder.CardType
- GOLD - Enum constant in enum class polimi.ingsw.am21.codex.model.GameBoard.DrawingDeckType
- GOLD_DECK - Enum constant in enum class polimi.ingsw.am21.codex.model.GameBoard.DeckType
- GoldCardFrontSide - Class in polimi.ingsw.am21.codex.model.Cards.Playable
- GoldCardFrontSide(int, List<ResourceType>, PointConditionType, ObjectType) - Constructor for class polimi.ingsw.am21.codex.model.Cards.Playable.GoldCardFrontSide
-
Constructor
- goldCardsLeft() - Method in class polimi.ingsw.am21.codex.model.GameBoard.GameBoard
- GRAY - Enum constant in enum class polimi.ingsw.am21.codex.view.TUI.utils.commons.Color
- GREEN - Enum constant in enum class polimi.ingsw.am21.codex.model.Player.TokenColor
- GREEN - Enum constant in enum class polimi.ingsw.am21.codex.view.TUI.utils.commons.Color
- GridCell - Class in polimi.ingsw.am21.codex.view.GUI.utils
- GridCell(Runnable, Supplier<Boolean>) - Constructor for class polimi.ingsw.am21.codex.view.GUI.utils.GridCell
- GridCellStatus - Enum Class in polimi.ingsw.am21.codex.view.GUI.utils
- gridSize - Static variable in class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
- Gui - Class in polimi.ingsw.am21.codex.view.GUI
- Gui() - Constructor for class polimi.ingsw.am21.codex.view.GUI.Gui
- GUI - Enum constant in enum class polimi.ingsw.am21.codex.client.ClientType
- GuiClient - Class in polimi.ingsw.am21.codex.view.GUI
- GuiClient() - Constructor for class polimi.ingsw.am21.codex.view.GUI.GuiClient
- GuiElement - Interface in polimi.ingsw.am21.codex.view.GUI.utils
- GUIGridPosition - Class in polimi.ingsw.am21.codex.view.GUI.utils
- GUIGridPosition(int, int) - Constructor for class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
- GUIGridPosition(Position) - Constructor for class polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition
- GuiUtils - Class in polimi.ingsw.am21.codex.view.GUI.utils
- GuiUtils() - Constructor for class polimi.ingsw.am21.codex.view.GUI.utils.GuiUtils
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form