Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- calculate(Player, IslandGroup, Set<Color>) - Method in class it.polimi.ingsw.eriantys.model.influence.BonusInfluence
- calculate(Player, IslandGroup, Set<Color>) - Method in class it.polimi.ingsw.eriantys.model.influence.CommonInfluence
- calculate(Player, IslandGroup, Set<Color>) - Method in class it.polimi.ingsw.eriantys.model.influence.ExcludeColorInfluence
- calculate(Player, IslandGroup, Set<Color>) - Method in interface it.polimi.ingsw.eriantys.model.influence.InfluenceCalculator
-
The method evaluates the influence of a
Playeron a certain island. - calculate(Player, IslandGroup, Set<Color>) - Method in class it.polimi.ingsw.eriantys.model.influence.NoTowersInfluence
- cancelCharacterCardEffect() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
Cancels the effect of the desired character card at the end of the current turn.
- cancelEffect() - Method in class it.polimi.ingsw.eriantys.model.characters.BaseCharacterCard
- cancelEffect() - Method in interface it.polimi.ingsw.eriantys.model.characters.CharacterCard
-
Resets the effects of this card that are not intended to persist after the activation turn.
- cancelEffect() - Method in class it.polimi.ingsw.eriantys.model.characters.ContainerCharacterCard
- cancelEffect() - Method in class it.polimi.ingsw.eriantys.model.characters.Farmer
- cancelEffect() - Method in class it.polimi.ingsw.eriantys.model.characters.InfluenceCharacterCard
- CAT - Enum constant in enum class it.polimi.ingsw.eriantys.model.AssistantCard
- Centaur - Class in it.polimi.ingsw.eriantys.model.characters
-
Represents the "centaur" character card and the corresponding effect.
- Centaur(GameManager) - Constructor for class it.polimi.ingsw.eriantys.model.characters.Centaur
-
Constructs a new
Centaurcharacter card. - changeInfluenceState(InfluenceCalculator) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method to change the internal influence calculation definition for the
InfluenceCalculatorstate pattern. - changeScene(SceneName) - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalApplication
-
Changes the current scene and calls the
Controller.onChangeScene()method of the controller associated with the new scene. - CHARACTER_CARDS - Enum constant in enum class it.polimi.ingsw.eriantys.client.gui.SceneName
- CharacterCard - Interface in it.polimi.ingsw.eriantys.model.characters
-
The
CharacterCardclass is used to handle character effects in expert mode games. - characterCardInfo - Variable in class it.polimi.ingsw.eriantys.client.UserInterface
-
JSON structured object containing information about character cards that should be available to the player.
- CharacterCardsController - Class in it.polimi.ingsw.eriantys.client.gui.controllers
-
A class representing the controller for the
CHARACTER_CARDSscene. - CharacterCardsController() - Constructor for class it.polimi.ingsw.eriantys.client.gui.controllers.CharacterCardsController
-
Constructs the
CharacterCardsControllergetting the character card information from the JSON file. - CharacterCardUpdate - Class in it.polimi.ingsw.eriantys.messages.server
-
A message of type
UserActionUpdatesent by the server in order to notify the client of the activation of aCharacterCardeffect. - CharacterCardUpdate(int) - Constructor for class it.polimi.ingsw.eriantys.messages.server.CharacterCardUpdate
- characterCostRepresentation(String) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - characterNoEntryTilesRepresentation(String) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - charactersRepresentation() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - characterStudentsRepresentation(String) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - checkCredentials(String, String) - Method in class it.polimi.ingsw.eriantys.controller.Game
-
Returns
trueif and only if the specified credentials are valid and the player in question is allowed to reconnect to the game. - checkDisconnection() - Method in class it.polimi.ingsw.eriantys.controller.Game
-
If the current player is disconnected calls the disconnected turn handler.
- checkForCoins(Color) - Method in class it.polimi.ingsw.eriantys.model.DiningRoom
-
Returns
trueif and only if thePlayerwho owns thisDiningRoomis entitled to receive a coin based on the number of students of colorcolorit contains. - checkForCoins(Color) - Method in class it.polimi.ingsw.eriantys.model.Player
- checkForCoins(Color) - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
-
Returns
trueif and only if thePlayerwho owns thisSchoolBoardis entitled to receive a coin based on the number of students of colorcolortheirDiningRoomcontains. - CHEETAH - Enum constant in enum class it.polimi.ingsw.eriantys.model.AssistantCard
- chooseCloud(int) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Sends a
SelectCloudmessage to the server. - client - Variable in class it.polimi.ingsw.eriantys.client.gui.controllers.Controller
- client - Variable in class it.polimi.ingsw.eriantys.client.UserInterface
-
Reference to the client object to which this user interface is associated.
- Client - Class in it.polimi.ingsw.eriantys.client
-
This is the main class for the client-side application.
- Client(String, int, boolean) - Constructor for class it.polimi.ingsw.eriantys.client.Client
-
Constructs a
Clientobject, starting theSocketand either theCommandLineInterfaceor theGraphicalUserInterface. - ClientConnection - Class in it.polimi.ingsw.eriantys.server
-
This class represents a single client-server connection.
- ClientConnection(Server, Socket) - Constructor for class it.polimi.ingsw.eriantys.server.ClientConnection
-
Constructs a new instance of
ClientConnectionwith the specified parameters. - ClientMessageHandler - Interface in it.polimi.ingsw.eriantys.client
-
This interface defines a method (with overloading) to handle all different types of messages that can be received by the client.
- cloudTilesRepresentation() - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - coinsRepresentation(String) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method called by
BoardStatusin order to obtain a view-oriented representation within the MVC pattern for the game. - Color - Enum Class in it.polimi.ingsw.eriantys.model
-
The possible colors of the student discs and the professors, with the relative
Color.realm. - CommandLineInterface - Class in it.polimi.ingsw.eriantys.client.cli
-
This class represents the command line user interface (CLI).
- CommandLineInterface() - Constructor for class it.polimi.ingsw.eriantys.client.cli.CommandLineInterface
-
Constructs a
CommandLineInterfaceobject. - CommonInfluence - Class in it.polimi.ingsw.eriantys.model.influence
-
This concrete implementation for the state design pattern involving
InfluenceCalculatordefines the influence calculation when it is not affected by anyCharacterCard. - CommonInfluence() - Constructor for class it.polimi.ingsw.eriantys.model.influence.CommonInfluence
- connect(String, ClientConnection) - Method in class it.polimi.ingsw.eriantys.server.Server
-
Handles a user connection by processing a
Handshakecommunication item. - ConnectionMessage - Class in it.polimi.ingsw.eriantys.messages
-
A class representing a
Messagesent while out-of-game. - ConnectionMessage(String) - Constructor for class it.polimi.ingsw.eriantys.messages.ConnectionMessage
- ConnectionUpdate - Class in it.polimi.ingsw.eriantys.messages.server
-
A class representing a
Messagesent after an event regarding disconnection or reconnection scenarios. - ConnectionUpdate(String, int) - Constructor for class it.polimi.ingsw.eriantys.messages.server.ConnectionUpdate
- ConsoleColors - Enum Class in it.polimi.ingsw.eriantys.client.cli
-
Enumeration of the codes used to print colored text in the console.
- constants - Variable in class it.polimi.ingsw.eriantys.model.GameManager
- ContainerCharacterCard - Class in it.polimi.ingsw.eriantys.model.characters
-
Abstract class that represents the character cards that require to contain students to use when activating the effect.
- ContainerCharacterCard(int, int, Bag) - Constructor for class it.polimi.ingsw.eriantys.model.characters.ContainerCharacterCard
-
Constructs the character card.
- Controller - Class in it.polimi.ingsw.eriantys.client.gui.controllers
-
A class representing a GUI application controller which can manage
*.fxmlfiles and display data accordingly inside them. - Controller() - Constructor for class it.polimi.ingsw.eriantys.client.gui.controllers.Controller
- createLobby(String, String) - Method in class it.polimi.ingsw.eriantys.client.Client
-
Checks if the parameters are valid and sends a
LobbyCreationmessage to the server.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form