Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- savedPoints - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Map associating each player to the current saved points, before a new eventual modification
- scanner - Variable in class it.polimi.ingsw.am13.client.view.tui.MenuInputReader
-
Scanner used to listen to the input from stdin
- scene - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
The scene that this controller manages
- sceneHeight - Static variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
- sceneWidth - Static variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
- scoreTrackerContainer - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- scoreTrackerView - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- secondChoiceImage - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
- sectionCards() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionCardsOpponentPlayer() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionCardsThisPlayer() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionField() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionLegend() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionLogs() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- sectionPlayers() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- selectMusicImage(boolean) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Sets the right image for background music button in settings
- selectSoundsImage() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Sets the right image for sounds button in settings
- sendChatMessage(List<PlayerLobby>, String) - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
-
Send a chat message to the receivers (either a single player, or all the other players)
- sendChatMessage(List<PlayerLobby>, String) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
-
Send a chat message to the receivers (either a single player, or all the players)
- sendChatMessage(List<PlayerLobby>, String) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
-
Send a chat message to the receivers (either a single player, or all the players)
- sender - Variable in class it.polimi.ingsw.am13.client.chat.ChatMessage
-
The sender of the message
- sender - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseChat
-
The sender of the message
- sendError(Exception) - Method in class it.polimi.ingsw.am13.network.socket.GameListenerServerSocket
-
Sends an error message to the client
- sendMessage(MsgCommand) - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
-
It sends the message to the server, by writing it to out, and then flushing and resetting out.
- sendMessage(Message) - Method in class it.polimi.ingsw.am13.network.socket.GameListenerServerSocket
-
Sends a message to the client
- SERVER_IP - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
Server's ip (to which to connect)
- SERVER_IP - Static variable in class it.polimi.ingsw.am13.ParametersServer
-
IP Addressed of the server
- SERVER_PORT - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
Server's port (to which to connect)
- ServerMain - Class in it.polimi.ingsw.am13
- ServerMain() - Constructor for class it.polimi.ingsw.am13.ServerMain
- ServerResponseHandler - Class in it.polimi.ingsw.am13.client.network.socket
-
This class keeps waiting for responses coming from the server.
- ServerResponseHandler(Socket, NetworkHandlerSocket, View) - Constructor for class it.polimi.ingsw.am13.client.network.socket.ServerResponseHandler
-
Constructor of this class, that sets the socket, network handler and view
- serverSocket - Variable in class it.polimi.ingsw.am13.network.socket.ServerSocketHandler
-
The server socket of this server
- ServerSocketHandler - Class in it.polimi.ingsw.am13.network.socket
-
This class listens for new socket connection requests coming from the client.
- ServerSocketHandler(int) - Constructor for class it.polimi.ingsw.am13.network.socket.ServerSocketHandler
-
Assign the value to the socket port attribute
- set - Variable in class it.polimi.ingsw.am13.model.card.points.PointsSet
-
Represets the set of resources/objects that must be present to obtain the points
- setAvailableCoords(List<Coordinates>) - Method in class it.polimi.ingsw.am13.client.gamestate.FieldState
-
Sets the list of available coordinates where to place other cards during the game.
- setChat(Chat) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Sets the chat, and initializes chatChoices with the valid choices.
- setConnected(boolean) - Method in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Sets the flag for connection of player
- setController(GameControllerRMIIF) - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
-
Sets the controller to the passed parameter
- setCurrentMenu(MenuTUI) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Sets the current menu
- setCurrentPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.gamestate.GameState
-
Set the current player
- setDisplayPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- setDisplayPlayer(String) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- setFlowCardPlaced(boolean) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Method that sets the gameState
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
Method that sets the gameState
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
Method that sets the gameState
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Method that sets the gameState
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- setGameState(GameState) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
Sets the state of the game
- setGameStatus(GameStatus) - Method in class it.polimi.ingsw.am13.client.gamestate.GameState
-
Set the current game status
- setHandObjective(CardObjectiveIF) - Method in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Sets the player's chosen personal objective card.
- setLogs(LogTUI) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
- setNetworkHandler(NetworkHandler) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Calls the corresponding method on viewGUIController
- setNetworkHandler(NetworkHandler) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Method that sets the network handler
- setNetworkHandler(NetworkHandler) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Starts the thread defined by
MenuInputReader
(listening for input from stdin) - setNetworkHandler(NetworkHandler) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Sets the handler of the network, which the view can use to send its command actions to the server
- setPickables(List<CardPlayableIF>) - Method in class it.polimi.ingsw.am13.client.gamestate.GameState
-
Sets the (6) pickable cards.
- setPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.network.socket.GameListenerServerSocket
-
Sets the player associated with this listener
- setPoints(int) - Method in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Sets the player's current points.
- setPossiblePersonalObjectives(Player) - Method in class it.polimi.ingsw.am13.model.Match
-
Assign to the given player the two objectives he can choose from
- setRoom(RoomIF) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
Sets this room and then calls
ViewGUIControllerJoinedRoom.updateRoomLabel()
- setScene(Scene) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Method that sets the scene
- setShowLegend(boolean) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
-
Setter for the flag indicating whether to print the legend
- setStage(Stage) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Method that sets the stage
- setStarter(Player) - Method in class it.polimi.ingsw.am13.model.Match
-
Assigns the starter card to the player
- setStarterCard(CardStarterIF) - Method in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Sets the player's starter card.
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Method that sets the player
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
Method that sets the player
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
Method that sets the player
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Method that sets the player
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- setThisPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
Sets the player associated to the client the GUI was created by
- setTurnsToEnd(int) - Method in class it.polimi.ingsw.am13.client.gamestate.GameState
-
Sets the number of turns till the end.
- setWinner(List<PlayerLobby>) - Method in class it.polimi.ingsw.am13.client.gamestate.GameState
-
Sets the winner.
- showChatMessage(PlayerLobby, List<PlayerLobby>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Shows a chat message
- showChatMessage(PlayerLobby, List<PlayerLobby>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
If the message belongs to the chat that is currently being selected, it shows it.
- showChatMessage(PlayerLobby, List<PlayerLobby>) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows a chat message
- showChatMessage(PlayerLobby, List<PlayerLobby>) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a chat message
- showChatWith(List<PlayerLobby>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Clears the chat area and replaces it with all the messages between thisPlayer and the passed parameter
- showChosenPersonalObjective(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It displays that a player chose his personal objective, by calling the corresponding method on
ViewGUIController
- showChosenPersonalObjective(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
If the player who has chosen his personal objective is thisPlayer, it shows that the player should wait for the other players to finish their initial phase
- showChosenPersonalObjective(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Show that a player showed his personal objectiveby calling the corresponding method on
ViewGUIControllerInit
, adding the corresponding log and displaying the logs - showChosenPersonalObjective(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
It shows a successful objective card chosen.
- showChosenPersonalObjective(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a players choosing their personal objective card
- showEndGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It calls the corresponding method on
ViewGUIController
. - showEndGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- showEndGame() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Show the end of the game (after which the server deletes the game)
- showEndGame() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show the end of the game (after which the server deletes the game)
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Shows a generic exception in the view (specific exception could be handled in different ways, also depending on the phase or the state of game)
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Shows a generic exception in the view (specific exception could be handled in different ways, also depending on the phase or the state of game)
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
This method cannot be called
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Shows a generic exception in the view (specific exception could be handled in different ways, also depending on the phase or the state of game)
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
This method cannot be called
- showException(Exception) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Prints a generic exception and prints again the current menu
- showException(Exception) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a generic exception in the view (specific exception could be handled in different ways, also depending on the phase or the state of game)
- showFinalPhase() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
- showFinalPhase() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Sho the logs, update the
ViewGUIControllerMatch.turnsCounterLabel
- showFinalPhase() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows the game entering the final phase (last turns before adding extra points)
- showFinalPhase() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows the game entering the final phase (last turns before adding extra points)
- showFromTable(int) - Method in class it.polimi.ingsw.am13.model.DeckHandler
-
Retrieves a copy of the chosen visible card without removing it.
- showInGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows the game entering the turn-based phase, by changing the scene and calling the corresponding method on
ViewGUIController
- showInGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Show that we reached the in game phase, by removed the init scene and the transparent overlay, adding the log message, updating the hand playable, field and players container
- showInGame() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
It shows the game entering the turn-based phase In particular sets the
ViewTUIMatch
and uses that to handle this phase. - showInGame() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show the game entering the turn-based phase
- showLastLogs() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Updates the logArea to show the last non-shown log messages
- showLegend - Variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIMatch
-
Flag indicating if the legend is currently being printed.
- showNextTurn() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows the game moving on to the next turn by calling the corresponding method on
ViewGUIController
- showNextTurn() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Make all the updates necessary to make it the turn of the next player
- showNextTurn() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Show the game moving on to the next turn
- showNextTurn() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show the game moving on to the next turn
- showPickedCard(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows a player picking a card, by calling the corresponding method on
ViewGUIController
- showPickedCard(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Show that a card was picked by making the pickable cards not clickable, updating
ViewGUIControllerMatch.playersHandsPlayable
and displaying the hand playable - showPickedCard(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows a player picking a card
- showPickedCard(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a player picking a card
- showPlayedCard(PlayerLobby, Coordinates) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Shows a player placing one of their hand cards on the field, by calling the corresponding method on
ViewGUIController
- showPlayedCard(PlayerLobby, Coordinates) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
If the player is
ViewGUIControllerMatch.thisPlayer
, set to trueViewGUIControllerMatch.flowCardPlaced
, make the pickable cards clickable and updateViewGUIControllerMatch.actionLabel
. - showPlayedCard(PlayerLobby, Coordinates) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows a player placing one of their hand cards on the field
- showPlayedCard(PlayerLobby, Coordinates) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a player placing one of their hand cards on the field
- showPlayedStarter(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It displays that a player chose the side for his starter card, by calling the corresponding method on
ViewGUIController
- showPlayedStarter(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
If the player who played the starter card is thisPlayer, it shows the two personal objective cards the player can choose from
- showPlayedStarter(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Show that player his starting card by calling the corresponding method on
ViewGUIControllerInit
, displaying in the field , adding the corresponding log and displaying the logs - showPlayedStarter(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
It shows a successful starter card played.
- showPlayedStarter(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a player playing their starter card
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows that a player disconnected from the game by calling the corresponding method on
ViewGUIController
. - showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
It shows that a player disconnected from an ongoing game by calling the corresponding method on
ViewGUIController
. - showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
This method cannot be called
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
This method cannot be called
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
It shows that a player disconnected from an ongoing game by updating the player container
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
It should never be called, not implemented
- showPlayerDisconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Show a player disconnecting from the game
- showPlayerDisconnected(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show a player disconnecting from the game
- showPlayerJoinedRoom(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
If thisPlayer is null, it sets it, changes the scene to the joined room scene and calls getRooms.
- showPlayerJoinedRoom(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
Shows that a player joined the room by adding it to the
ViewGUIControllerJoinedRoom.joinedRoomTable
and then callingViewGUIControllerJoinedRoom.updateRoomLabel()
- showPlayerJoinedRoom(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Prints a player joining the room.
- showPlayerJoinedRoom(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a player joining the room, possibly the client himself
- showPlayerLeftRoom(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
If the player who left the room is thisPlayer, it switches the scene to the rooms' scene.
- showPlayerLeftRoom(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Prints a player leaving the room If the player is the one associated to the view, it is assumed that this is the ACK message from the server and handles it.
- showPlayerLeftRoom(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a player leaving the room, possibly the client himself
- showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows that a player reconnected to the game by calling the corresponding method on
ViewGUIController
. - showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
It shows that a player reconnected to an ongoing game by calling the corresponding method on
ViewGUIController
. - showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
This method cannot be called
- showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
It shows that a player reconnected to an ongoing game by calling the corresponding method on
ViewGUIController
. - showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
It shows that a player reconnected to an ongoing game by updating the player container
- showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
It should never be called, not implemented
- showPlayerReconnected(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Show a player reconnecting to the game
- showPlayerReconnected(PlayerLobby) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show a player reconnecting to the game
- showRooms(List<RoomIF>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Shows the list of rooms returned by the server, which the player can join/reconnect to.
- showRooms(List<RoomIF>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerJoinedRoom
-
Initialises the
ViewGUIControllerJoinedRoom.joinedRoomTable
- showRooms(List<RoomIF>) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- showRooms(List<RoomIF>) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Prints the list of all rooms (with game started or not started)
- showRooms(List<RoomIF>) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows the list of rooms returned by the server, which the player can join/reconnect to
- showStartGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
Shows the start of the game, by showing the two sides of the starter card the player can choose from
- showStartGame() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Show the start of the game by creating a semi transparent layer and displaying the init scene on top of it
- showStartGame(GameState, Chat) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It switches the scene to the init scene, where each player can choose the side of his starter card and his personal objective.
- showStartGame(GameState, Chat) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows the game starting.
- showStartGame(GameState, Chat) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows the game starting.
- showStartGameReconnected(GameState, PlayerLobby, Chat) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It sets state and thisPlayer.
- showStartGameReconnected(GameState, PlayerLobby, Chat) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows the already started game to the player who has reconnected mid-game
- showStartGameReconnected(GameState, PlayerLobby, Chat) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows the already started game to the player who has reconnected mid-game
- showStartupScreen() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerRooms
- showStartupScreen(boolean, String, int) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It calls the corresponding method on the controller.
- showStartupScreen(boolean, String, int) - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows a startup screen
- showStartupScreen(boolean, String, int) - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows a startup screen.
- showUpdatePoints() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows the updated points after the turn-based phase is finished by calling the corresponding method on
ViewGUIController
- showUpdatePoints() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Modifies all the elements on the view in order to update them with the final value and not to allow any other modifications.
- showUpdatePoints() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Shows the points updated after the turn-based phase is finished
- showUpdatePoints() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Shows the points updated after the turn-based phase is finished
- showWinner() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
It shows the winner by calling the corresponding method on
ViewGUIController
. - showWinner() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Creates a new layer over all the view, which closes after the first click of the mouse
- showWinner() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
Shows a table of the players with their final points, printing the winner / winners.
- showWinner() - Method in class it.polimi.ingsw.am13.client.view.tui.ViewTUI
-
Show the winner
- showWinner() - Method in interface it.polimi.ingsw.am13.client.view.View
-
Show the winner
- shuffle() - Method in class it.polimi.ingsw.am13.model.Deck
-
Shuffles this deck randomly, and sets visibility of the new top card
- side - Variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils.CardSideSymbolsBuilder
-
front/back -> F/B
- side - Variable in class it.polimi.ingsw.am13.model.card.CardSidePlayable
-
The side of the card this CardSide corresponds to
- side - Variable in class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPlayCard
-
The side on which the card should be played
- side - Variable in class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPlayStarter
-
The side on which the starter card should be played
- Side - Enum Class in it.polimi.ingsw.am13.model.card
-
Enumeration of the two sides of a card (front and back)
- Side() - Constructor for enum class it.polimi.ingsw.am13.model.card.Side
- SIDEBACK - Enum constant in enum class it.polimi.ingsw.am13.model.card.Side
- SIDEFRONT - Enum constant in enum class it.polimi.ingsw.am13.model.card.Side
- SKIP_INIT - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
If true, skips the init phase
- SKIP_ROOM - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
If true, skips the create/join room phase, creating a room with the specific DEBUG_NPLAYERS number of players
- SKIP_TURNS - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
If true, skips the turn-bases phase, moving directly to the end of the game
- sleepTime - Static variable in class it.polimi.ingsw.am13.ParametersClient
-
Period the client thread waits before sending a new ping
- sleepTime - Static variable in class it.polimi.ingsw.am13.ParametersServer
-
Constant storing the sleep time in ms of the threads managing connections (i.e.
- socket - Variable in class it.polimi.ingsw.am13.client.network.socket.ServerResponseHandler
-
The socket which is used to communicate with the server
- socket_port - Variable in class it.polimi.ingsw.am13.network.socket.ServerSocketHandler
-
The socket port of the server
- SOCKET_PORT - Static variable in class it.polimi.ingsw.am13.ParametersServer
-
Socket port number
- soundsButton - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- soundsOn - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Flag indicating if sounds must be played
- soundsVolSlider - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- stage - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
The stage on which the application is displayed
- stage - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
The stage on which the application is displayed
- start() - Method in class it.polimi.ingsw.am13.network.socket.ServerSocketHandler
-
Initialise and start the threat that listens for new connection requests
- start(Stage) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
This method is executed when this application is launched by
ClientMain
. - START_WITH_SOUNDS - Static variable in class it.polimi.ingsw.am13.ParametersClient
- startCard - Variable in class it.polimi.ingsw.am13.model.player.Player
-
Player's starter card which has been drawn to him.
- starter - Variable in class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedStarter
-
The starter that has been played
- starterCard - Variable in class it.polimi.ingsw.am13.client.gamestate.PlayerState
-
Starter card of the player.
- starterCards(CardPlayableIF) - Static method in class it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils
- startGame() - Method in class it.polimi.ingsw.am13.model.Match
-
Sets the starter Card, sets the possible objective cards, gives the initial cards to the players.
- startGame(int) - Method in class it.polimi.ingsw.am13.controller.Lobby
-
Starts the game for the room specified by gameId.
- startGame(GameController) - Method in class it.polimi.ingsw.am13.model.GameModel
-
Sets the starter Card, sets the possible objective cards, gives the initial cards to the players.
- startPing() - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
-
Starts the thread sending pings to server
- startPing() - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
-
Starts the thread sending pings to server
- startPing() - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
-
Starts the thread sending pings to server
- startPlayingMusic() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Starts playing the current track selected in the music track choice box.
- startReconnectionTimer(long) - Method in class it.polimi.ingsw.am13.controller.GameController
-
Starts the reconnection timer.
- state - Variable in class it.polimi.ingsw.am13.client.gamestate.GameStateHandler
-
Game state to handle
- state - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
The representation of the state of the game
- state - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerInit
-
The representation of the state of the game
- state - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Game's state.
- state - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerWinner
-
State of the game
- state - Variable in class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemChooseObj
-
Reference to the current game's state
- state - Variable in class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemPickCard
-
Reference to the current game's state
- state - Variable in class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemPlayCard
-
Reference to the current game's state
- stateHandler - Variable in class it.polimi.ingsw.am13.client.network.rmi.GameListenerClientRMI
-
Handler of the game's state
- stopPing() - Method in interface it.polimi.ingsw.am13.client.network.NetworkHandler
-
Stops the thread sending pings to server
- stopPing() - Method in class it.polimi.ingsw.am13.client.network.rmi.NetworkHandlerRMI
-
Stops the thread sending pings to server
- stopPing() - Method in class it.polimi.ingsw.am13.client.network.socket.NetworkHandlerSocket
-
Stops the thread sending pings to server
- stopReconnectionTimer() - Method in class it.polimi.ingsw.am13.controller.GameController
-
Stops the reconnection timer by setting the reconnection timer by interrupting the reconnection thread and then setting it to null
- switchToPlayer(PlayerLobby) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
This method updates displayPlayer and displays his field and playable hand
- switchToScene() - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIController
-
Shows the scene associated to this controller, setting also the scene title
- switchToScene(ViewGUIController) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Switches a scene, showing another scene based on the associated controller.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form