Index

A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

G

game - Variable in class it.polimi.ingsw.Server.Controller.GameController
Game instance associated to the Controller
Game - Class in it.polimi.ingsw.Server.Model
This class contains general information about the current game, such as CommonGoalCards and number of Players.
Game(String, int) - Constructor for class it.polimi.ingsw.Server.Model.Game
game constructor
Game(String, Map<Integer, Player>, int, List<PersonalGoalCard>, Scoreboard, Board, int, CommonGoalCard, CommonGoalCard, List<ObjectCard>, boolean, boolean) - Constructor for class it.polimi.ingsw.Server.Model.Game
Related to Game's refresh strategy
gameButtonsEvents(Button) - Method in class it.polimi.ingsw.Client.GUI
This method defines game buttons' events
gameComplete() - Method in class it.polimi.ingsw.Server.Model.Game
This method is used for endgame procedures, such as final scoring.
GameController - Class in it.polimi.ingsw.Server.Controller
This class represents the controller, which manages the logic of the game, such as login, turn management, chat.
GameController(String) - Constructor for class it.polimi.ingsw.Server.Controller.GameController
GameController creator
GameController(List<String>, String, Game, Player, int, boolean, Map<ScoreCard, CommonGoalCard>) - Constructor for class it.polimi.ingsw.Server.Controller.GameController
Related to Game's refresh strategy
GameControllerTest - Class in it.polimi.ingsw.Server.Controller
Test for GameController class
GameControllerTest() - Constructor for class it.polimi.ingsw.Server.Controller.GameControllerTest
 
gameEnded - Variable in class it.polimi.ingsw.Server.Model.Game
this attribute is true if a player has already filled his/her shelf, false otherwise
GameEnded - Enum constant in enum class it.polimi.ingsw.Common.Status
 
gameID - Static variable in class it.polimi.ingsw.Client.GUI
Game'ID
GameRESX - Variable in class it.polimi.ingsw.Client.GUI
Game's width resolution
GameRESY - Variable in class it.polimi.ingsw.Client.GUI
Game's height resolution
GAMES - Enum constant in enum class it.polimi.ingsw.Client.ClientModel.ClientObjectCardType
 
GAMES - Enum constant in enum class it.polimi.ingsw.Server.Model.ObjectCardType
 
gameScene - Enum constant in enum class it.polimi.ingsw.Client.Scenes
 
gameScene - Static variable in class it.polimi.ingsw.Client.GUI
Game's scene
gc - Variable in class it.polimi.ingsw.Server.Controller.MoveIntermediate
Game's controller
getActivePlayer() - Method in class it.polimi.ingsw.Server.Controller.GameController
Getter method for activePlayer
getBoard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Game's board
getBoard() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Game's board
getBoard() - Method in class it.polimi.ingsw.Server.Model.Game
Getter method for the board
getCard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientBoardSpace
 
getCard() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
getCard(int, int) - Method in class it.polimi.ingsw.Server.Model.Shelf
gets Object Card in position (x, y) if valid (else empty)
getCardImage(int, int) - Method in class it.polimi.ingsw.Client.ClientModel.ClientShelf
Returns Object Card's image path in position (x, y) if valid (else null)
getCardImage(int, int) - Method in interface it.polimi.ingsw.Common.ShelfInterface
Returns Object Card's image path in position (x, y) if valid (else null)
getCardImage(int, int) - Method in class it.polimi.ingsw.Server.Model.Shelf
Returns Object Card's image path in position (x, y) if valid (else null)
getCardImageFromSpace(int, int) - Method in class it.polimi.ingsw.Client.ClientModel.ClientBoard
Returns Object Card's image path, given a Board Space
getCardImageFromSpace(int, int) - Method in interface it.polimi.ingsw.Common.BoardInterface
Returns Object Card's image path, given a Board Space
getCardImageFromSpace(int, int) - Method in class it.polimi.ingsw.Server.Model.Board
Returns Object Card's image path, given a Board Space
getCardOrdinal(int, int) - Method in class it.polimi.ingsw.Client.ClientModel.ClientShelf
Returns Object Card's type ordinal in position (x, y) if valid (else -1)
getCardOrdinal(int, int) - Method in interface it.polimi.ingsw.Common.ShelfInterface
Returns Object Card's type ordinal in position (x, y) if valid (else -1)
getCardOrdinal(int, int) - Method in class it.polimi.ingsw.Server.Model.Shelf
Returns Object Card's type ordinal in position (x, y) if valid (else -1)
getCardOrdinalFromSpace(int, int) - Method in class it.polimi.ingsw.Client.ClientModel.ClientBoard
Returns Object Card's type ordinal, given a Board Space
getCardOrdinalFromSpace(int, int) - Method in interface it.polimi.ingsw.Common.BoardInterface
Returns Object Card's type ordinal, given a Board Space
getCardOrdinalFromSpace(int, int) - Method in class it.polimi.ingsw.Server.Model.Board
Returns Object Card's type ordinal, given a Board Space
getCardsFromCoordinate(List<Integer>, List<Integer>) - Method in class it.polimi.ingsw.Server.Model.Board
Returns a list of cards contained in a group of coordinates
getCell() - Method in class it.polimi.ingsw.Client.CellDataModel
Getter method for cell's ImageView
getChar(int) - Static method in interface it.polimi.ingsw.Common.ObjectCardInterface
Returns a char corresponding to the ordinal of a given card type.
getColoredSequence(int) - Static method in interface it.polimi.ingsw.Common.ObjectCardInterface
Returns a colored escape sequence corresponding to the ordinal of a given card type.
getCommonGoalCard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Game's Common Goal Cards
getCommonGoalCard() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Game's Common Goal Cards
getCommonGoalCards() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for CommonGoalCards
getCommonGoalCards() - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter for CommonGoalCards
getCoordinate(ObjectCard, boolean) - Method in class it.polimi.ingsw.Server.Model.Shelf
Looks for coordinates of a given card (x, y)
getCopy() - Method in class it.polimi.ingsw.Server.Model.Board
Refreshed copy, after server reload from file
getCopy() - Method in class it.polimi.ingsw.Server.Model.CommonGoalCard
Refreshed copy, after server reload from file
getCopy() - Method in class it.polimi.ingsw.Server.Model.PersonalGoalCard
Refreshed copy, after server reload from file
getCopy() - Method in class it.polimi.ingsw.Server.Model.ScoreCard
Refreshed copy, after server reload from file
getCopy() - Method in class it.polimi.ingsw.Server.Model.Shelf
Refreshed copy, after server reload from file
getCurrentPlayer() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for the current player
getCurrentPlayer() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for the current player
getDescription() - Method in class it.polimi.ingsw.Client.ClientModel.ClientCommonGoalCard
 
getDescription() - Method in interface it.polimi.ingsw.Common.CommonGoalCardInterface
This method returns the textual description of the pattern that the player has to achieve, in order to gain points.
getDescription() - Method in enum class it.polimi.ingsw.Common.Status
 
getDescription() - Method in class it.polimi.ingsw.Server.Model.CommonGoalCard
This method returns the textual description of the pattern that the player has to achieve, in order to gain points.
getDots() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
getGameBoard() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for GameBoard
getGameID() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for the game's ID
getIdentifier() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Game's identifier
getIdentifier() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Game's identifier
getIdentifier() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for the Game Identifier
getImage() - Method in class it.polimi.ingsw.Client.ClientModel.ClientObjectCard
This method returns Object Card's image
getImage() - Method in class it.polimi.ingsw.Server.Model.ObjectCard
This method returns Object Card's image
getIncrements() - Method in class it.polimi.ingsw.Client.ClientModel.ClientCommonGoalCard
 
getIncrements() - Method in interface it.polimi.ingsw.Common.CommonGoalCardInterface
 
getIncrements() - Method in class it.polimi.ingsw.Server.Model.CommonGoalCard
 
getLastAchieved() - Method in class it.polimi.ingsw.Server.Model.Player
 
getLastTurnScores() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
 
getLastTurnScores() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
 
getLastTurnScores() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for LastTurnScores (if a player has achieved a CommonGoal)
getLobby() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for lobby
getMaxPlayers() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for MaxPlayers
getMaxPlayers() - Method in class it.polimi.ingsw.Server.Model.Game
Getter method for the attribute, which indicates the maximum number of players, who can join the game
getMessage() - Method in class it.polimi.ingsw.Common.StatusMessage
 
getMoveIntermediate() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter for Player's Move Intermediate
getMoveIntermediate() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter for Player's Move Intermediate
getMoveIntermediate(String) - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for MoveIntermediate
getNickname() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Player's nickname
getNickname() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for player's nickname
getNickname() - Method in class it.polimi.ingsw.Client.PlayerDataModel
Getter method for player's nickname
getNickname() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Player's nickname
getNickname() - Method in class it.polimi.ingsw.Server.Model.Player
 
getNumOfPlayers() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for game's number of players
getObjectCards() - Method in class it.polimi.ingsw.Server.Model.Board
 
getOrd() - Method in enum class it.polimi.ingsw.Server.Model.ObjectCardType
getter of ord
getOrdinal(char) - Static method in interface it.polimi.ingsw.Common.ObjectCardInterface
This method associates an int to a letter referred to an ObjectCardType
getOrdinal(int, int) - Method in class it.polimi.ingsw.Client.ClientModel.ClientPersonalGoalCard
getter method
getOrdinal(int, int) - Method in interface it.polimi.ingsw.Common.PersonalGoalCardInterface
getter method
getOrdinal(int, int) - Method in class it.polimi.ingsw.Server.Model.PersonalGoalCard
getter method
getPattern() - Method in class it.polimi.ingsw.Server.Model.PersonalGoalCard
returns the pattern
getPersonalGoalCard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Player's Personal Goal Card
getPersonalGoalCard() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Player's Personal Goal Card
getPersonalGoalCard() - Method in class it.polimi.ingsw.Server.Model.Player
This is a getter method for the PersonalGoalCard
getPersonalGoalCard(String) - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for PersonalGoalCard
getPersonalGoalCardInterfaceFromNickname(String) - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter of PersonalGoalCard obtained from nickname
getPlainCard() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
getPlainCard(int, int) - Method in class it.polimi.ingsw.Server.Model.Shelf
gets Object Card in position (x, y) if valid (else null)
getPlainCardFromSpace(int, int) - Method in class it.polimi.ingsw.Server.Model.Board
Returns Object Card as an instance (not as Optional.of(card))
getPlainDots() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
getPlainType(int, int) - Method in class it.polimi.ingsw.Server.Model.PersonalGoalCard
getter method
getPlayerByNickname(String) - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for PlayerByNickname
getPlayerFromNickname(String) - Method in class it.polimi.ingsw.Server.Model.Game
getter method to recognize a player from nickname
getPlayers() - Method in class it.polimi.ingsw.Server.Model.Game
Getter method for players.
getPoints() - Method in class it.polimi.ingsw.Client.PlayerDataModel
Getter method for player's points
getPosition() - Method in class it.polimi.ingsw.Server.Model.Player
This is a getter method for the position attribute
getScore() - Method in class it.polimi.ingsw.Server.Model.Player
This is a getter method for the score attribute
getScoreboard() - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for ScoreBoard
getScoreboard() - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter for attribute scoreboard
getScoreBoard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientScoreboard
Getter for the final Scoreboard sorted Map
getScoreBoard() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
getter method for Game's Scoreboard
getScoreBoard() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
getter method for Game's Scoreboard
getScoreBoard() - Method in interface it.polimi.ingsw.Common.ScoreBoardInterface
Getter for the final Scoreboard sorted Map
getScoreBoard() - Method in class it.polimi.ingsw.Server.Model.Scoreboard
Getter for the final Scoreboard sorted Map
getScoreCards() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
 
getScoreCards() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
 
getScoreCards() - Method in class it.polimi.ingsw.Server.Model.Player
 
getScoreCardsFromNickname(String) - Method in class it.polimi.ingsw.Server.Controller.GameController
 
getScoreCardsFromNickname(String) - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter for ScoreCards obtained from Nickname
getSelectedColumn() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for selected column
getShelf() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Player's shelf
getShelf() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Player's shelf
getShelf() - Method in class it.polimi.ingsw.Server.Model.Player
This is a getter method for the shelf attribute
getShelf(String) - Method in class it.polimi.ingsw.Server.Controller.GameController
getter method for Shelf
getShelfFromNickname(String) - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter for player's shelf obtained from nickname
getShelfInterfaceFromNickname(String) - Method in class it.polimi.ingsw.Server.Model.Game
this method is a getter for the shelf interface obtained from nickname
getSpaces() - Method in class it.polimi.ingsw.Server.Model.Board
Returns a copy of the spaces array via functional approach.
getStatus() - Method in class it.polimi.ingsw.Client.ClientModel.ClientStatus
Getter method for Client Status
getStatus() - Method in interface it.polimi.ingsw.Common.ClientStatusInterface
Getter method for Client Status
getStatus() - Method in class it.polimi.ingsw.Common.StatusMessage
 
getType() - Method in class it.polimi.ingsw.Client.ClientModel.ClientCommonGoalCard
Common Goal Card's type (ordinal)
getType() - Method in class it.polimi.ingsw.Client.ClientModel.ClientObjectCard
This method return objectcard's type
getType() - Method in class it.polimi.ingsw.Client.ClientModel.ClientPersonalGoalCard
Getter method for Personal Goal Card
getType() - Method in interface it.polimi.ingsw.Common.CommonGoalCardInterface
Common Goal Card's type (ordinal)
getType() - Method in interface it.polimi.ingsw.Common.PersonalGoalCardInterface
Getter method for Personal Goal Card
getType() - Method in class it.polimi.ingsw.Server.Model.CommonGoalCard
Common Goal Card's type (ordinal)
getType() - Method in class it.polimi.ingsw.Server.Model.ObjectCard
This method return objectcard's type
getType() - Method in class it.polimi.ingsw.Server.Model.PersonalGoalCard
Getter method for Personal Goal Card
getValue() - Method in class it.polimi.ingsw.Client.ClientModel.ClientScoreCard
 
getValue() - Method in interface it.polimi.ingsw.Common.ScoreCardInterface
 
getValue() - Method in class it.polimi.ingsw.Server.Model.ScoreCard
 
getX() - Method in class it.polimi.ingsw.Client.CellDataModel
Getter method for x coordinate
getX() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for x selected cells coordinates
getX() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
getY() - Method in class it.polimi.ingsw.Client.CellDataModel
Getter method for y coordinate
getY() - Static method in class it.polimi.ingsw.Client.GUI
Getter method for x selected cells coordinates
getY() - Method in class it.polimi.ingsw.Server.Model.BoardSpace
 
gson - Variable in class it.polimi.ingsw.Server.RMIServer
 
gson_2 - Static variable in class it.polimi.ingsw.Server.SocketServer
 
GsonInterfaceSerializer<T> - Class in it.polimi.ingsw.Common
Serializer for Gson Interfaces
GsonInterfaceSerializer(Class<T>) - Constructor for class it.polimi.ingsw.Common.GsonInterfaceSerializer
 
GsonMoveDeserializer - Class in it.polimi.ingsw.Server.Controller
Gson Move Deserializer
GsonMoveDeserializer(Board, Shelf) - Constructor for class it.polimi.ingsw.Server.Controller.GsonMoveDeserializer
MoveDeserializer Constructor
GsonOptionalSerializer<T> - Class in it.polimi.ingsw.Common
Correctly manages Optional serialization and deserialization of Optional.empty() values
GsonOptionalSerializer() - Constructor for class it.polimi.ingsw.Common.GsonOptionalSerializer
 
GUI - Class in it.polimi.ingsw.Client
This class define game's GUI
GUI() - Constructor for class it.polimi.ingsw.Client.GUI
 
A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form