Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- game - Variable in class it.polimi.ingsw.eriantys.controller.phases.PlayCharacterCardHandler
- Game - Class in it.polimi.ingsw.eriantys.controller
-
This class handles the control flow of a game according to the rules.
- Game(Server, int, String, int, boolean) - Constructor for class it.polimi.ingsw.eriantys.controller.Game
-
Constructs a
Gamethat fits the specified parameters. - GAME_SETUP - Enum constant in enum class it.polimi.ingsw.eriantys.server.HelpContent
- GameConstants - Class in it.polimi.ingsw.eriantys.model
-
A class representing all the constants parameters of the game itself.
- GameInfo - Class in it.polimi.ingsw.eriantys.controller
-
This class contains all the relevant information about a
Game. - GameInfo(int, String, int, boolean) - Constructor for class it.polimi.ingsw.eriantys.controller.GameInfo
-
Constructs an instance of
GameInfowith the specified parameters. - gameManager - Variable in class it.polimi.ingsw.eriantys.model.characters.InfluenceCharacterCard
-
Reference to the
GameManagerobject for the current game. - GameManager - Class in it.polimi.ingsw.eriantys.model
-
This class represents the current state of a game, including all game objects and participating players.
- GameManager(List<String>, boolean) - Constructor for class it.polimi.ingsw.eriantys.model.GameManager
-
Constructs a
GameManagerthat fits the number of players and the selected game mode. - GameMessage - Class in it.polimi.ingsw.eriantys.messages
-
A class representing a
Messagesent while in-game. - GameMessage(String) - Constructor for class it.polimi.ingsw.eriantys.messages.GameMessage
- gameOver() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Ends the game by notifying every player and deleting every reference to it.
- gameOver(Game, List<String>) - Method in class it.polimi.ingsw.eriantys.server.Server
-
Processes the server-side end of the game.
- GameOverUpdate - Class in it.polimi.ingsw.eriantys.messages.server
-
A message of type
UserActionUpdatesent by the server in order to notify the client of the end the game. - GameOverUpdate(String) - Constructor for class it.polimi.ingsw.eriantys.messages.server.GameOverUpdate
- GameSetupHandler - Class in it.polimi.ingsw.eriantys.controller.phases
-
This concrete implementation for the state design pattern involving
MessageHandlerdefines how the game setup phase messageGameSetupSelectionshould be processed. - GameSetupHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.GameSetupHandler
-
Constructs a new
GameSetupHandlerfor the specified game. - GameSetupSelection - Class in it.polimi.ingsw.eriantys.messages.client
-
A
GameMessagesent by a client in order to inform the server the tower color and wizard chosen by the user. - GameSetupSelection(String, String, String) - Constructor for class it.polimi.ingsw.eriantys.messages.client.GameSetupSelection
- get(String) - Method in class it.polimi.ingsw.eriantys.model.PlayerList
-
A getter for the
Playerobject associated with a nickname. - getAssistantCard() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayAssistantCard
-
A getter for the
AssistantCardliteral requested by the user. - getAssistantCards() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Returns a map having the nickname of every player as the key set and each player's remaining assistant cards as the values.
- getAvailableAssistantCards() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A getter for each player's remaining assistant cards.
- getAvailableCards() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the list of the assistant cards that the player is allowed to play.
- getAvailableCards() - Method in class it.polimi.ingsw.eriantys.messages.server.AssistantCardUpdate
-
A getter for the available
AssistantCardliterals in the turn. - getAvailableTowerColors() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
-
A getter for the available
TowerColorliterals in the game. - getAvailableWizards() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
-
A getter for the available
Wizardliterals in the game. - getBag() - Method in class it.polimi.ingsw.eriantys.model.Board
-
A getter for the
Bagof this game object. - getBoardStatus() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the last
BoardStatusreceived from the server. - getCard() - Method in class it.polimi.ingsw.eriantys.messages.server.CharacterCardUpdate
-
A getter for the target
CharacterCardliteral. - getCharacterCard() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the
Client.characterCardattribute. - getCharacterCard() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayCharacterCard
-
A getter for the
CharacterCardliteral requested by the user. - getCharacterCards() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the
CharacterCards randomly extracted for theGame. - getCharacterCardsCost() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the total number of coins required to play a
CharacterCardof theGame. - getCharacterCardsNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the total number of no-entry tiles placed on a
CharacterCardof theGameif the card itself involves this additional information and status. - getCharacterCardsStudents() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the students placed on a
CharacterCardof theGameif the card itself involves this additional information and status. - getCloud() - Method in class it.polimi.ingsw.eriantys.messages.client.SelectCloud
-
A getter for the cloud tile literal requested by the user.
- getCloudNumber() - Method in class it.polimi.ingsw.eriantys.model.GameConstants
-
A getter for the number of cloud tiles on the
Board. - getCloudSize() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Returns the size of the clouds for this game.
- getCloudSize() - Method in class it.polimi.ingsw.eriantys.model.GameConstants
-
A getter for the number of students on the cloud tiles of the
Board. - getCloudTiles() - Method in class it.polimi.ingsw.eriantys.model.Board
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getCloudTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
- getCoins() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the number of coins for a
Player's object. - getColor() - Method in class it.polimi.ingsw.eriantys.messages.client.MoveStudent
-
A getter for the
Colorliteral of the student requested by the user. - getComponents() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A getter for the list of the
ids of the single islands components of anIslandGroup. - getConnection(String) - Method in class it.polimi.ingsw.eriantys.server.Server
-
A getter for the client connection instance of a user.
- getContent() - Method in class it.polimi.ingsw.eriantys.messages.server.HelpResponse
-
A getter for the result of the
/helpcommand coded for the current application phase. - getContent() - Method in enum class it.polimi.ingsw.eriantys.server.HelpContent
-
A getter for the text coded for an enumeration literal.
- getController() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A getter for the island's
controller. - getControllerForPopup(PopupName) - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Getter for the
Controllerassociated with a given popup scene. - getControllerForScene(SceneName) - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Getter for the
Controllerassociated with a given scene. - getCost() - Method in class it.polimi.ingsw.eriantys.model.characters.BaseCharacterCard
- getCost() - Method in interface it.polimi.ingsw.eriantys.model.characters.CharacterCard
-
A getter for the amount of coins needed to activate the effect of this card.
- getCost() - Method in class it.polimi.ingsw.eriantys.model.characters.ContainerCharacterCard
- getCreator() - Method in class it.polimi.ingsw.eriantys.controller.GameInfo
-
Returns the creator of the referenced game.
- getCurrentController() - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Getter for the current controller, which is the
Controllerassociated with the current scene returned from theGraphicalApplication.getCurrentScene()method. - getCurrentPlayer() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Returns the username of the current player, or
nullif the game has not started yet. - getCurrentPlayers() - Method in class it.polimi.ingsw.eriantys.controller.GameInfo
-
Returns the number of players currently participating in the referenced game.
- getCurrentScene() - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Getter for the current
Scene. - getDeck() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the
AssistantCardheld in the hand by aPlayer. - getDestination() - Method in class it.polimi.ingsw.eriantys.messages.client.MotherNatureDestination
-
A getter for the
IslandGroupliteral requested by the user. - getDestination() - Method in class it.polimi.ingsw.eriantys.messages.client.MoveStudent
-
A getter for the destination literal requested by the user.
- getDetails() - Method in class it.polimi.ingsw.eriantys.messages.server.Refused
-
A getter for the details attached within the message itself, which can include a description for the reason behind the refusal.
- getDiningRoom() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the
SchoolBoarddining room of aPlayer's object. - getDiningRoom() - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
-
A getter for the object's dining room.
- getDistanceFromMotherNature(IslandGroup) - Method in class it.polimi.ingsw.eriantys.model.Board
-
A getter for the steps required by Mother Nature pawn to reach the
targetisland. - getEntrance() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the
SchoolBoardentrance of aPlayer's object. - getEntrance() - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
-
A getter for the object's entrance.
- getEntranceSize() - Method in class it.polimi.ingsw.eriantys.model.GameConstants
-
A getter for the number of students on a
SchoolBoardentrance. - getGame() - Method in class it.polimi.ingsw.eriantys.server.ClientConnection
-
A getter for the game which
thisrefers to. - getGameId() - Method in class it.polimi.ingsw.eriantys.controller.GameInfo
-
Returns the id of the referenced game.
- getGameId() - Method in class it.polimi.ingsw.eriantys.messages.client.JoinLobby
-
A getter for the identifier of the lobby which the user is requesting to join.
- getGameId() - Method in class it.polimi.ingsw.eriantys.messages.client.LeaveLobby
-
A getter for the identifier of the lobby which the user is requesting to exit.
- getGameId() - Method in class it.polimi.ingsw.eriantys.messages.client.Reconnect
-
A getter for the identifier of the lobby which the user is requesting to reconnect.
- getGameId() - Method in class it.polimi.ingsw.eriantys.messages.server.AcceptedJoinLobby
-
A getter for the identifier of the lobby which the client requested to join or reconnect.
- getHelp() - Method in class it.polimi.ingsw.eriantys.controller.phases.GameSetupHandler
- getHelp() - Method in interface it.polimi.ingsw.eriantys.controller.phases.MessageHandler
-
Returns a help message which lists the possible user actions for the current phase of the game.
- getHelp() - Method in class it.polimi.ingsw.eriantys.controller.phases.PlayAssistantCardHandler
- getHelp() - Method in class it.polimi.ingsw.eriantys.controller.phases.PlayCharacterCardHandler
- getHelp() - Method in class it.polimi.ingsw.eriantys.controller.phases.SelectCloudHandler
- getId() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A getter for the island's
id. - getInfo() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Returns a
GameInfoobject containing the unique id of the game, the number of players allowed to participate, the expert mode flag and the username of the game's creator. - getInstance() - Static method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Static getter for the (unique) instance of the JavaFX
Application. - getIsland(String) - Method in class it.polimi.ingsw.eriantys.model.Board
-
Returns the
IslandGroupwhoseidmatches the specified one. - getIslandControllers() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
- getIslandNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
- getIslandNumber() - Method in class it.polimi.ingsw.eriantys.model.Board
-
A getter for the current number of islands.
- getIslands() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the
IslandGroupidentifiers. - getIslandSizes() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
- getIslandsRepresentation() - Method in class it.polimi.ingsw.eriantys.model.Board
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getIslandStudents() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
- getLobbies() - Method in class it.polimi.ingsw.eriantys.messages.server.AvailableLobbies
-
A getter for the available lobbies on the server.
- getLobbySize() - Method in class it.polimi.ingsw.eriantys.controller.GameInfo
-
Returns the number of players expected to participate in the referenced game.
- getMotherNatureIsland() - Method in class it.polimi.ingsw.eriantys.model.Board
-
A getter for the
IslandGroupwhere Mother Nature is currently located. - getMotherNatureIsland() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the
IslandGroupon which Mother Nature is currently placed. - getMotherNatureMovements() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the number of allowed Mother Nature's movements for a
Player's object during the current turn. - getName() - Method in interface it.polimi.ingsw.eriantys.model.characters.CharacterCard
-
A getter for the name of the class, representing the character name.
- getNextPlayer() - Method in class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
-
A getter for the username of the next player who is eligible for an action.
- getNickname() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the nickname of a
Player's object. - getNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.characters.HerbGranny
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getNumPlayers() - Method in class it.polimi.ingsw.eriantys.messages.client.LobbyCreation
-
A getter for the number of players set for the lobby which the user is requesting to create.
- getNumPlayers() - Method in class it.polimi.ingsw.eriantys.messages.server.ConnectionUpdate
-
A getter for the updated number of players after the event (in the lobby or game, depending on the application phase).
- getOwnership(Color) - Method in class it.polimi.ingsw.eriantys.model.ProfessorOwnership
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getParams() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayCharacterCard
-
A getter for the arguments which the requested
CharacterCardrequire. - getPasscode() - Method in class it.polimi.ingsw.eriantys.messages.client.Reconnect
-
A getter for the passcode which has been previously associated with the user to manage disconnection scenarios.
- getPasscode() - Method in class it.polimi.ingsw.eriantys.messages.server.AcceptedJoinLobby
-
A getter for the passcode which has been previously associated with the client to manage disconnection scenarios.
- getPath() - Method in enum class it.polimi.ingsw.eriantys.client.gui.PopupName
-
A getter for the relative path of the literal.
- getPath() - Method in enum class it.polimi.ingsw.eriantys.client.gui.SceneName
-
A getter for the relative path of the literal.
- getPhase() - Method in class it.polimi.ingsw.eriantys.messages.server.BoardUpdate
-
A getter for the phase name which prompts an information message to the UI.
- getPlayedCards() - Method in class it.polimi.ingsw.eriantys.messages.server.AssistantCardUpdate
-
A getter for the mapping between usernames and previously selected
AssistantCardliterals. - getPlayerCoins() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the total number of coins owned by the users' in the
Game. - getPlayerDiningRooms() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the references to the
SchoolBoarddining room of every user in theGame. - getPlayerEntrances() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the references to the
SchoolBoardentrance of every user in theGame. - getPlayers() - Method in class it.polimi.ingsw.eriantys.messages.server.LobbyUpdate
-
A getter for the usernames of the players inside the lobby following the event.
- getPlayers() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the nicknames of the users in the
Game. - getPlayerTowerColors() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the
TowerColorliterals of the users in theGame. - getPlayerTowers() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the total number of towers on the users'
SchoolBoard. - getProfessors() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
-
A getter for the professors owned by the users' in the
Game. - getProfessors(Player) - Method in class it.polimi.ingsw.eriantys.model.ProfessorOwnership
-
Returns the
Colorof the professors owned byplayer. - getQuantity(Color) - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
-
A getter for the amount of students of color
colorcurrently in the container. - getRepresentation() - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getSelected() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.SchoolBoardController
-
Getter for the
SchoolBoardController.selectedattribute, which contains either the name of aColorrepresenting a selected student or the name of a character card (during the process of selecting parameters of an effect). - getSender() - Method in class it.polimi.ingsw.eriantys.messages.Message
-
A getter for the entity which is sending {@link this}.
- getSize() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getStatus() - Method in class it.polimi.ingsw.eriantys.messages.server.BoardUpdate
-
A getter for the status of the board.
- getStatus() - Method in class it.polimi.ingsw.eriantys.messages.server.InitialBoardStatus
-
A getter for the status of the board.
- getSubject() - Method in class it.polimi.ingsw.eriantys.messages.server.ConnectionUpdate
-
A getter for the user which caused the event.
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.AssistantCardsController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.BoardController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.CharacterCardsController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.Controller
-
A getter for the
Paneobject associated with the FXML tag of highest level in the*.fxmlfile associated withthis. - getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.LobbiesController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.LoginController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.SchoolBoardController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.TowersController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.WaitingRoomController
- getTopLevelPane() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.WizardsController
- getTowerColor() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the
Client.towerColorattribute. - getTowerColor() - Method in class it.polimi.ingsw.eriantys.messages.client.GameSetupSelection
-
A getter for the tower color requested by the user.
- getTowerColor() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the
TowerColorof aPlayer's object. - getTowerColors() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
-
A getter for the mapping between usernames and selected
TowerColorliterals. - getTowerNumber() - Method in class it.polimi.ingsw.eriantys.model.GameConstants
-
A getter for the number of towers on a
SchoolBoard. - getTowerQuantity() - Method in class it.polimi.ingsw.eriantys.model.Player
- getTowerQuantity() - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
-
A helper-getter method to fulfill the
BoardStatuscreation process. - getTowers() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
-
A getter for the number of towers on the
IslandGroup. - getTurnOrder() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A controller-dedicated getter for a
Listcontaining the turn order of the current round. - getTurnOrder() - Method in class it.polimi.ingsw.eriantys.model.PlayerList
-
A getter for a
Listcontaining the turn order referred to the current round. - getUsername() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the username chosen by the player.
- getUsername() - Method in class it.polimi.ingsw.eriantys.messages.server.AcceptedUsername
-
A getter for the (global and unique) username which the client chose.
- getWinner() - Method in class it.polimi.ingsw.eriantys.messages.server.GameOverUpdate
-
A getter for the winner of the game.
- getWinner() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A getter for the winner of the game.
- getWizard() - Method in class it.polimi.ingsw.eriantys.client.Client
-
A getter for the
Client.wizardattribute. - getWizard() - Method in class it.polimi.ingsw.eriantys.messages.client.GameSetupSelection
-
A getter for the wizard requested by the user.
- getWizard() - Method in class it.polimi.ingsw.eriantys.model.Player
-
A getter for the
Wizardof aPlayer's object. - getWizards() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
-
A getter for the mapping between usernames and selected
Wizardliterals. - GraphicalApplication - Class in it.polimi.ingsw.eriantys.client.gui
-
This class represents the JavaFX
Applicationand handles stages, scenes and controllers. - GraphicalApplication() - Constructor for class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Constructs a
GraphicalApplicationinitializing theMapobjects to keep track of scenes and controllers. - GraphicalUserInterface - Class in it.polimi.ingsw.eriantys.client.gui
-
This class represents the graphical user interface (GUI).
- GraphicalUserInterface() - Constructor for class it.polimi.ingsw.eriantys.client.gui.GraphicalUserInterface
-
Constructs a
GraphicalUserInterfaceobject. - GREEN - Enum constant in enum class it.polimi.ingsw.eriantys.model.Color
- GREY - Enum constant in enum class it.polimi.ingsw.eriantys.model.TowerColor
- GridBuilder - Class in it.polimi.ingsw.eriantys.client.cli
-
This utility class is used to print various fragments of text in a grid-like structure.
- GridBuilder(int) - Constructor for class it.polimi.ingsw.eriantys.client.cli.GridBuilder
-
Constructs a new empty
GridBuilderspecifying a fixed number of columns. - GridBuilder(int, int) - Constructor for class it.polimi.ingsw.eriantys.client.cli.GridBuilder
-
Constructs a new empty
GridBuilderspecifying a fixed number of columns and the tab size.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form