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

R

read() - Method in class it.polimi.ingsw.eriantys.server.ClientConnection
Continuously checks for new messages being sent by the client through the connection socket's input stream and handles them according to the game phase, disconnecting the client if an I/O error occurs or if the client is unresponsive to ping messages.
receiveCloudSelection() - Method in class it.polimi.ingsw.eriantys.controller.Game
Advances to the step of the turn when the current player can select a cloud tile.
receiveMotherNatureMovement() - Method in class it.polimi.ingsw.eriantys.controller.Game
Advances to the step of the turn when the current player can move Mother Nature.
reconnect(String) - Method in class it.polimi.ingsw.eriantys.controller.Game
Handles the reconnection of the specified player, notifying the rest of the players about the reconnection, resuming the game if necessary and broadcasting an update about the state of the game.
reconnect(String, int, String, ClientConnection) - Method in class it.polimi.ingsw.eriantys.server.Server
Handles a user reconnection by processing a Reconnect communication item.
Reconnect - Class in it.polimi.ingsw.eriantys.messages.client
A ConnectionMessage sent by a client in order to request the server to reconnect to a lobby.
Reconnect(String, int, String) - Constructor for class it.polimi.ingsw.eriantys.messages.client.Reconnect
 
ReconnectionUpdate - Class in it.polimi.ingsw.eriantys.messages.server
A message of type ConnectionUpdate sent by the server in order to broadcast a reconnection event.
ReconnectionUpdate(String, int, boolean) - Constructor for class it.polimi.ingsw.eriantys.messages.server.ReconnectionUpdate
 
RED - Enum constant in enum class it.polimi.ingsw.eriantys.model.Color
 
refillClouds() - Method in class it.polimi.ingsw.eriantys.model.Board
Refills the cloud tiles by taking the necessary amount of students from the bag.
refillFrom(StudentContainer) - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
Refills this to its maximum capacity by picking random students from source.
Refused - Class in it.polimi.ingsw.eriantys.messages.server
A Message sent by the server in order to communicate the refusal of the associated client request.
Refused(String) - Constructor for class it.polimi.ingsw.eriantys.messages.server.Refused
 
RefusedReconnect - Class in it.polimi.ingsw.eriantys.messages.server
A message of type Refused sent by the server in order to tell the client the acceptance of a Reconnect request.
RefusedReconnect(String) - Constructor for class it.polimi.ingsw.eriantys.messages.server.RefusedReconnect
 
refuseRequest(GameMessage, String) - Method in class it.polimi.ingsw.eriantys.controller.Game
Responds to a GameMessage sent by a client with a Refused message with the specified detail string.
remainingCapacity(Color) - Method in class it.polimi.ingsw.eriantys.model.Bag
Returns the remaining capacity of the container for the specified Color, an integer between 0 and Bag.MAX_STUDENTS_PER_COLOR, or -1 if color is null.
remainingCapacity(Color) - Method in class it.polimi.ingsw.eriantys.model.DiningRoom
Returns the remaining capacity of the container for the specified Color, an integer between 0 and DiningRoom.MAX_STUDENTS_PER_COLOR, or -1 if color is null.
remainingCapacity(Color) - Method in class it.polimi.ingsw.eriantys.model.StudentContainer
Returns the container's remaining capacity for the specified Color, an integer between 0 and StudentContainer.MAX_STUDENTS_PER_COLOR, or -1 if color is null.
removePlayer(String) - Method in class it.polimi.ingsw.eriantys.controller.Game
If the specified username is not in the game returns false, otherwise removes the username from the players and returns true.
removeReconnectSettings() - Method in class it.polimi.ingsw.eriantys.client.Client
Removes the reconnection settings.
resolve(IslandGroup) - Method in class it.polimi.ingsw.eriantys.model.GameManager
Sets the specified IslandGroup's controller to the player with the most influence on the island.
returnTile(int) - Method in class it.polimi.ingsw.eriantys.model.characters.HerbGranny
Method called when a no-entry tile is removed from an island to put it back on this card.
returnTower() - Method in class it.polimi.ingsw.eriantys.model.Player
 
returnTower() - Method in class it.polimi.ingsw.eriantys.model.SchoolBoard
If this SchoolBoard has less than the maximum number of towers prior to this method's invocation, increases the number of towers by 1 and returns true, otherwise returns false.
roundBorders(ImageView, double) - Method in class it.polimi.ingsw.eriantys.client.gui.controllers.Controller
A helper method to round borders of an image.
run() - Method in class it.polimi.ingsw.eriantys.client.cli.CommandLineInterface
Starts the loop reading user inputs and handling commands.
run() - Method in class it.polimi.ingsw.eriantys.client.Client
Starts the user interface thread and then loops to receive and handle messages from the server.
run() - Method in class it.polimi.ingsw.eriantys.client.gui.GraphicalUserInterface
Launches the JavaFX Application.
run() - Method in class it.polimi.ingsw.eriantys.server.Server
 
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