Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- receivers - Variable in class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandChat
-
The receivers of the message
- receivers - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseChat
-
The receivers of the message
- reconnect(String, Token) - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
-
Reconnect the passed player to an existing game he was previously part of
- reconnect(String, Token) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
-
Reconnect the passed player to an existing game he was previously part of
- reconnect(String, Token) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
-
Reconnect the passed player to an existing game he was previously part of
- reconnectionThread - Variable in class it.polimi.ingsw.am13.controller.GameController
-
Thread used to manage the reconnection timer which is started when there only 1 player left
- reconnectPlayer() - Method in class it.polimi.ingsw.am13.model.player.Player
-
Sets the isConnected variable to true
- reconnectPlayer(GameListenerClientRMIIF) - Method in class it.polimi.ingsw.am13.network.rmi.LobbyRMI
-
Reconnects a disconnected player for the already started game they took part in.
- reconnectPlayer(GameListenerClientRMIIF) - Method in interface it.polimi.ingsw.am13.network.rmi.LobbyRMIIF
-
Reconnects a disconnected player for the already started game they took part in.
- reconnectPlayer(GameListener) - Method in class it.polimi.ingsw.am13.controller.GameController
-
Reconnects the player corresponding to the game listener and triggers the notification of this.
- reconnectPlayer(GameListener) - Method in class it.polimi.ingsw.am13.controller.Lobby
-
Reconnects a disconnected player for the already started game they took part in.
- reconnectPlayer(GameListener, GameController) - Method in class it.polimi.ingsw.am13.model.GameModel
-
Reconnects the given player.
- reconnectPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.model.Match
-
Reconnects the given player by calling the corresponding method in the Player class
- reconnectToRoom(GameListener, GameModelIF, GameController) - Method in class it.polimi.ingsw.am13.controller.Room
-
If the game has started, it reconnects the given player to the room.
- RED - Enum constant in enum class it.polimi.ingsw.am13.model.player.ColorToken
- removeCardFromField() - Method in class it.polimi.ingsw.am13.model.card.Card
-
Removes card from field
- removeCardPlayed(CardPlayableIF) - Method in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Removes the given card from the player's hand.
- removeListener(PlayerLobby) - Method in class it.polimi.ingsw.am13.controller.ListenerHandler
-
Removes a
GameListener
from the list of GameListener. - removeResource(Resource) - Method in class it.polimi.ingsw.am13.model.player.Field
-
Decrease by 1 the counter of the given resource.
- request - Variable in class it.polimi.ingsw.am13.client.view.tui.menu.MenuTUI
-
Request to be printed before the menu
- requirements - Variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils.CardSideSymbolsBuilder
-
requirements -> " x " / " xx " / " xxx " / "xxxx " / "xxxxx"
- requirements - Variable in class it.polimi.ingsw.am13.model.card.CardSidePlayable
-
It stores the resources needed to play this card side(it's empty if no resource is required)
- RequirementsNotMetException - Exception Class in it.polimi.ingsw.am13.model.exceptions
-
Exception thrown when the player tries to place a card on the field but has not met its requirements
- RequirementsNotMetException() - Constructor for exception class it.polimi.ingsw.am13.model.exceptions.RequirementsNotMetException
- resDeck - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- resetLobby() - Static method in class it.polimi.ingsw.am13.controller.Lobby
-
Test purposes only
- resource - Variable in class it.polimi.ingsw.am13.model.card.Corner
-
This attribute represents the resource contained in this corner
- resource - Variable in class it.polimi.ingsw.am13.model.card.points.PointsResource
-
This variable represents the resource required to get points by playing this card
- Resource - Enum Class in it.polimi.ingsw.am13.model.card
-
Enum of all the possible resources, plus NO_RESOURCE for corners that are empty or non-visible
- Resource() - Constructor for enum class it.polimi.ingsw.am13.model.card.Resource
- resourceConverter(char) - Method in class it.polimi.ingsw.am13.model.card.CardFactory
- resources - Variable in class it.polimi.ingsw.am13.model.player.Field
-
Resource counters stored in a Map in the form of (Resource, count) key-value pair.
- resourceToSymbol(Resource) - Static method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIConstants
-
Returns the symbol associated to a resource
- resPick1 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- resPick2 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- RMI_DEFAULT_PORT - Static variable in class it.polimi.ingsw.am13.ParametersClient
- RMI_PORT - Static variable in class it.polimi.ingsw.am13.ParametersServer
-
RMI port number
- Room - Class in it.polimi.ingsw.am13.controller
-
Represents a set of players who are willing to start playing or are already playing.
- Room(int, GameListener, int) - Constructor for class it.polimi.ingsw.am13.controller.Room
-
Creates a nuw room with only the specified player, and sets the target number of players.
- roomId - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- RoomIF - Interface in it.polimi.ingsw.am13.controller
-
Interface representing a game room.
- roomLabel - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
- roomNP - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- roomP1 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- roomP2 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- roomP3 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- roomP4 - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- rooms - Variable in class it.polimi.ingsw.am13.controller.Lobby
-
All rooms created, with both games started or not (mapped via their gameId)
- rooms - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseGetRooms
-
The rooms that are currently available
- roomsController - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Controller of the 'Rooms' scene, where the rooms are listed and the user can create/join/reconnect to a room
- roomsTable - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- roomStatus - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- run() - Method in class it.polimi.ingsw.am13.client.network.socket.ServerResponseHandler
-
Thread run method that waits for messages coming from the server, and updates the view and the game state according to the received message
- run() - Method in class it.polimi.ingsw.am13.client.view.tui.MenuInputReader
-
Listen for command line inputs coming from the user, and execute them
- run() - Method in interface it.polimi.ingsw.am13.network.rmi.GameListenerServerRMI.RunnableRMI
- run() - Method in class it.polimi.ingsw.am13.network.socket.ClientRequestsHandler
-
Main method for the Thread execution
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form