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
Player
on 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
Centaur
character card. - changeInfluenceState(InfluenceCalculator) - Method in class it.polimi.ingsw.eriantys.model.GameManager
-
A method to change the internal influence calculation definition for the
InfluenceCalculator
state 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
CharacterCard
class 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_CARDS
scene. - CharacterCardsController() - Constructor for class it.polimi.ingsw.eriantys.client.gui.controllers.CharacterCardsController
-
Constructs the
CharacterCardsController
getting the character card information from the JSON file. - CharacterCardUpdate - 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 activation of aCharacterCard
effect. - 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
BoardStatus
in 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
BoardStatus
in 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
BoardStatus
in 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
BoardStatus
in 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
true
if 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
true
if and only if thePlayer
who owns thisDiningRoom
is entitled to receive a coin based on the number of students of colorcolor
it contains. - checkForCoins(Color) - Method in class it.polimi.ingsw.eriantys.model.Player
- checkForCoins(Color) - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
-
Returns
true
if and only if thePlayer
who owns thisSchoolBoard
is entitled to receive a coin based on the number of students of colorcolor
theirDiningRoom
contains. - 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
SelectCloud
message 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
Client
object, starting theSocket
and either theCommandLineInterface
or 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
ClientConnection
with 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
BoardStatus
in 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
BoardStatus
in 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
CommandLineInterface
object. - CommonInfluence - Class in it.polimi.ingsw.eriantys.model.influence
-
This concrete implementation for the state design pattern involving
InfluenceCalculator
defines 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
Handshake
communication item. - ConnectionMessage - Class in it.polimi.ingsw.eriantys.messages
-
A class representing a
Message
sent 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
Message
sent 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
*.fxml
files 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
LobbyCreation
message to the server.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form