Index

A B C D E F G H I J K L M N O P Q R S T U V W Y 
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 Game that 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 GameInfo with the specified parameters.
gameManager - Variable in class it.polimi.ingsw.eriantys.model.characters.InfluenceCharacterCard
Reference to the GameManager object 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 GameManager that fits the number of players and the selected game mode.
GameMessage - Class in it.polimi.ingsw.eriantys.messages
A class representing a Message sent 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 UserActionUpdate sent 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 MessageHandler defines how the game setup phase message GameSetupSelection should be processed.
GameSetupHandler(Game) - Constructor for class it.polimi.ingsw.eriantys.controller.phases.GameSetupHandler
Constructs a new GameSetupHandler for the specified game.
GameSetupSelection - Class in it.polimi.ingsw.eriantys.messages.client
A GameMessage sent 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 Player object associated with a nickname.
getAssistantCard() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayAssistantCard
A getter for the AssistantCard literal 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 AssistantCard literals in the turn.
getAvailableTowerColors() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
A getter for the available TowerColor literals in the game.
getAvailableWizards() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
A getter for the available Wizard literals in the game.
getBag() - Method in class it.polimi.ingsw.eriantys.model.Board
A getter for the Bag of this game object.
getBoardStatus() - Method in class it.polimi.ingsw.eriantys.client.Client
A getter for the last BoardStatus received from the server.
getCard() - Method in class it.polimi.ingsw.eriantys.messages.server.CharacterCardUpdate
A getter for the target CharacterCard literal.
getCharacterCard() - Method in class it.polimi.ingsw.eriantys.client.Client
A getter for the Client.characterCard attribute.
getCharacterCard() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayCharacterCard
A getter for the CharacterCard literal requested by the user.
getCharacterCards() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the CharacterCards randomly extracted for the Game.
getCharacterCardsCost() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the total number of coins required to play a CharacterCard of the Game.
getCharacterCardsNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the total number of no-entry tiles placed on a CharacterCard of the Game if 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 CharacterCard of the Game if 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 BoardStatus creation process.
getCloudTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the students placed on a cloud tile on the Board of the Game.
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 Color literal 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 an IslandGroup.
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 /help command 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 Controller associated with a given popup scene.
getControllerForScene(SceneName) - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
Getter for the Controller associated 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 Controller associated with the current scene returned from the GraphicalApplication.getCurrentScene() method.
getCurrentPlayer() - Method in class it.polimi.ingsw.eriantys.controller.Game
Returns the username of the current player, or null if 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 AssistantCard held in the hand by a Player.
getDestination() - Method in class it.polimi.ingsw.eriantys.messages.client.MotherNatureDestination
A getter for the IslandGroup literal 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 SchoolBoard dining room of a Player'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 target island.
getEntrance() - Method in class it.polimi.ingsw.eriantys.model.Player
A getter for the SchoolBoard entrance of a Player'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 SchoolBoard entrance.
getGame() - Method in class it.polimi.ingsw.eriantys.server.ClientConnection
A getter for the game which this refers 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 GameInfo object 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 IslandGroup whose id matches the specified one.
getIslandControllers() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the controller, if present, of an aggregate on the Board of the Game.
getIslandNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the total number of no-entry tiles placed on an aggregate on the Board of the Game.
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 IslandGroup identifiers.
getIslandSizes() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the number of islands composing an aggregate on the Board of the Game.
getIslandsRepresentation() - Method in class it.polimi.ingsw.eriantys.model.Board
A helper-getter method to fulfill the BoardStatus creation process.
getIslandStudents() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the students placed on an aggregate on the Board of the Game.
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 IslandGroup where Mother Nature is currently located.
getMotherNatureIsland() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the IslandGroup on 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 BoardStatus creation process.
getNoEntryTiles() - Method in class it.polimi.ingsw.eriantys.model.IslandGroup
A helper-getter method to fulfill the BoardStatus creation 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 BoardStatus creation process.
getParams() - Method in class it.polimi.ingsw.eriantys.messages.client.PlayCharacterCard
A getter for the arguments which the requested CharacterCard require.
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 AssistantCard literals.
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 SchoolBoard dining room of every user in the Game.
getPlayerEntrances() - Method in class it.polimi.ingsw.eriantys.model.BoardStatus
A getter for the references to the SchoolBoard entrance of every user in the Game.
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 TowerColor literals of the users in the Game.
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 Color of the professors owned by player.
getQuantity(Color) - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
A getter for the amount of students of color color currently in the container.
getRepresentation() - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
A helper-getter method to fulfill the BoardStatus creation process.
getSelected() - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.SchoolBoardController
Getter for the SchoolBoardController.selected attribute, which contains either the name of a Color representing 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 BoardStatus creation 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 Pane object associated with the FXML tag of highest level in the *.fxml file associated with this.
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.towerColor attribute.
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 TowerColor of a Player's object.
getTowerColors() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
A getter for the mapping between usernames and selected TowerColor literals.
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 BoardStatus creation 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 List containing the turn order of the current round.
getTurnOrder() - Method in class it.polimi.ingsw.eriantys.model.PlayerList
A getter for a List containing 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.wizard attribute.
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 Wizard of a Player's object.
getWizards() - Method in class it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
A getter for the mapping between usernames and selected Wizard literals.
GraphicalApplication - Class in it.polimi.ingsw.eriantys.client.gui
This class represents the JavaFX Application and handles stages, scenes and controllers.
GraphicalApplication() - Constructor for class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
Constructs a GraphicalApplication initializing the Map objects 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 GraphicalUserInterface object.
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 GridBuilder specifying a fixed number of columns.
GridBuilder(int, int) - Constructor for class it.polimi.ingsw.eriantys.client.cli.GridBuilder
Constructs a new empty GridBuilder specifying a fixed number of columns and the tab size.
A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form