Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
M
- main(String[]) - Static method in class it.polimi.ingsw.am13.client.ClientMain
- main(String[]) - Static method in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
- main(String[]) - Static method in class it.polimi.ingsw.am13.ServerMain
- makeDraggable(int, ImageView, Button) - Method in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
It makes the card corresponding to the parameters draggable.
- MANUSCRIPT - Enum constant in enum class it.polimi.ingsw.am13.model.card.Resource
- MANUSCRIPT_SYMBOL - Static variable in class it.polimi.ingsw.am13.client.view.tui.ViewTUIConstants
- manuscriptCounterLabel - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Label for counter of manuscript resources in the field of displayPlayer
- mapLis - Variable in class it.polimi.ingsw.am13.network.rmi.LobbyRMI
-
Map between players and their corresponding listeners.
- match - Variable in class it.polimi.ingsw.am13.model.GameModel
-
Class match with all the information regarding the match itself and how to precess it
- Match - Class in it.polimi.ingsw.am13.model
-
This class manages a match The flow of the match is handled by game phase.
- Match(List<Player>) - Constructor for class it.polimi.ingsw.am13.model.Match
-
Initializes the match.
- matchController - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUI
-
Controller of 'Match' scene, where player can actually play the most of the game
- menu - Variable in class it.polimi.ingsw.am13.client.view.tui.menu.MenuTUI
-
Map of menu items, with the command key as key
- MenuInputReader - Class in it.polimi.ingsw.am13.client.view.tui
-
Class implementing the thread listening for command line inputs from the user, used for TUI view Note that, being an object mediating between the server and the client, it has references to both the
NetworkHandler
and theViewTUI
.
Once started, it catches anything typed via command line after pressing enter. - MenuInputReader(ViewTUI, NetworkHandler) - Constructor for class it.polimi.ingsw.am13.client.view.tui.MenuInputReader
-
Builds a new listeners for the command line input from the user
- MenuItem - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Item belonging to a menu.
- MenuItem(String, String) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItem
-
Build a new menu item
- MenuItemChangeField - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item to change the displayed field to that of another player
- MenuItemChangeField(ViewTUIMatch) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemChangeField
-
Build a new menu item
- MenuItemChooseObj - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for choosing the personal objective card during INIT game phase It expects 1 argument (which card to choose) and sends the command to the server
- MenuItemChooseObj(GameState) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemChooseObj
-
Build a new item for choosing the personal objective card
- MenuItemCreateRoom - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for creating a room.
- MenuItemCreateRoom() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemCreateRoom
-
Build a new item for creating a new room
- MenuItemDisableLegend - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item to disable the print of the legend in field view
- MenuItemDisableLegend(ViewTUIMatch) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemDisableLegend
-
Creates a new menu item to disable the print of the legend
- MenuItemEnableLegend - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item to enable the print of the legend in field view
- MenuItemEnableLegend(ViewTUIMatch) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemEnableLegend
-
Creates a new menu item to enable the print of the legend
- MenuItemEnterChat - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for entering a chat room It expects 1 argument Player's nickname associated to the chat room, or 'all' for the global chatroom with all the players And then it sends the command to the server
- MenuItemEnterChat(ViewTUI) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemEnterChat
-
Build a new menu item
- MenuItemJoinRoom - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for joining an existing room.
- MenuItemJoinRoom() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemJoinRoom
-
Build a new item for joining a room
- MenuItemLeaveChat - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for leaving the chat room currently active.
- MenuItemLeaveChat(ViewTUI) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemLeaveChat
-
Build a new menu item
- MenuItemLeaveRoom - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for leaving the joined room.
- MenuItemLeaveRoom() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemLeaveRoom
-
Build a new item for leaving the room
- MenuItemPickCard - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for picking a card off the common field during a turn-based game phase.
- MenuItemPickCard(GameState) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemPickCard
-
Build a new item for playing a card on field
- MenuItemPlayCard - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for playing a card on field during a turn-based game phase.
- MenuItemPlayCard(GameState) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemPlayCard
-
Build a new item for playing a card on field
- MenuItemPlayStarter - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for playing the starting card in INIT game phase.
- MenuItemPlayStarter() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemPlayStarter
-
Build a new item for playing the starter card
- MenuItemReconnect - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item to reconnect a player to an ongoing game
- MenuItemReconnect() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemReconnect
-
Build a new item for reconnecting to a game
- MenuItemSendChatMessage - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for sending a message to the chatroom currently active.
- MenuItemSendChatMessage(List<PlayerLobby>) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemSendChatMessage
-
Build a new menu item
- MenuItemUpdateRoomList - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu item for updating the listed rooms.
- MenuItemUpdateRoomList() - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuItemUpdateRoomList
-
Build a new item for updating the list of rooms
- MenuTUI - Class in it.polimi.ingsw.am13.client.view.tui.menu
-
Menu storing all possible menu items corresponding to the is possible executable action in the current state of the game.
- MenuTUI(String, MenuItem...) - Constructor for class it.polimi.ingsw.am13.client.view.tui.menu.MenuTUI
-
Builds a new given the list of
MenuItem
which the menu is composed of. - Message - Class in it.polimi.ingsw.am13.network.socket.message
-
Abstract class for a message, which can either be a command or a response message
- Message() - Constructor for class it.polimi.ingsw.am13.network.socket.message.Message
- ModelException - Exception Class in it.polimi.ingsw.am13.model.exceptions
-
Main exception class for the Model package
- ModelException() - Constructor for exception class it.polimi.ingsw.am13.model.exceptions.ModelException
- ModelException(String) - Constructor for exception class it.polimi.ingsw.am13.model.exceptions.ModelException
-
Constructor of the exception.
- MsgCommand - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Abstract class for a command message, that is sent to the server by the client
- MsgCommand() - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommand
- MsgCommandChat - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message to send a chat message
- MsgCommandChat(List<PlayerLobby>, String) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandChat
-
Creates the message by setting the two attributes to the parameters
- MsgCommandChoosePersonalObjective - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to choose the personal objective
- MsgCommandChoosePersonalObjective(CardObjectiveIF) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandChoosePersonalObjective
-
Creates the message by setting the attribute to the parameter
- MsgCommandCreateRoom - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to create a room
- MsgCommandCreateRoom(String, Token, int) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandCreateRoom
-
Creates the message by setting the attributes to the parameters
- MsgCommandGetRooms - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to get the existing rooms.
- MsgCommandGetRooms() - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandGetRooms
-
Empty constructor
- MsgCommandJoinRoom - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to join a room
- MsgCommandJoinRoom(String, Token, int) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandJoinRoom
-
Creates the message by setting the attributes to the parameters
- MsgCommandLeaveRoom - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command messages which is sent to leave a room.
- MsgCommandLeaveRoom() - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandLeaveRoom
-
Empty constructor
- MsgCommandPickCard - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to pick a card
- MsgCommandPickCard(CardPlayableIF) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPickCard
-
Creates the message by setting the attribute to the parameter
- MsgCommandPing - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message corresponding to a ping from the client.
- MsgCommandPing() - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPing
-
Empty constructor
- MsgCommandPlayCard - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to play a card
- MsgCommandPlayCard(CardPlayableIF, Coordinates, Side) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPlayCard
-
Creates the message by setting the attributes to the parameters
- MsgCommandPlayStarter - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message which is sent to play the starter card
- MsgCommandPlayStarter(Side) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandPlayStarter
-
Creates the message by setting the attribute to the parameter
- MsgCommandReconnectGame - Class in it.polimi.ingsw.am13.network.socket.message.command
-
Command message to reconnect to an existing game, containing nickname and token of the player who wants to reconnect
- MsgCommandReconnectGame(String, Token) - Constructor for class it.polimi.ingsw.am13.network.socket.message.command.MsgCommandReconnectGame
-
Creates the message by setting the two attributes to the parameters
- MsgResponse - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Abstract class for a response message, which is sent to the client by the server
- MsgResponse(String) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponse
-
Builds a new response message with the given type
- MsgResponseChat - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message containing the message that should be sent to its receivers (including its sender and receivers)
- MsgResponseChat(PlayerLobby, List<PlayerLobby>, String) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseChat
-
Builds a new response message with the given sender, receivers and text
- MsgResponseChosenPersonalObjective - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message containing the information describing the choice of a personal objective
- MsgResponseChosenPersonalObjective(PlayerLobby, CardObjectiveIF) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseChosenPersonalObjective
-
Builds a new response message with the given player and chosen personal objective
- MsgResponseEndGame - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent to signal the end of the game
- MsgResponseEndGame() - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseEndGame
-
Builds a new response message
- MsgResponseError - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message that is sent to a client whenever one of his commands causes an exception
- MsgResponseError(Exception) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseError
-
Builds a new response message with the given exception
- MsgResponseFinalPhase - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message when the game reaches the final phase
- MsgResponseFinalPhase(int) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseFinalPhase
-
Builds a new response message with the given number of turns left
- MsgResponseGetRooms - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message containing the rooms that are currently available
- MsgResponseGetRooms(List<RoomIF>) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseGetRooms
-
Builds a new response message with the given rooms
- MsgResponseInGame - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when the game reaches the in game phase
- MsgResponseInGame() - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseInGame
-
Builds a new response message
- MsgResponseNextTurn - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when the next turn starts, containing the player who has to play in the next turn
- MsgResponseNextTurn(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseNextTurn
-
Builds a new response message with the given player
- MsgResponsePickedCard - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player has successfully picked a card
- MsgResponsePickedCard(PlayerLobby, List<? extends CardPlayableIF>, CardPlayableIF) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePickedCard
-
Builds a new response message with the given player, the updated visible cards and the picked card
- MsgResponsePing - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when the server has correctly received a ping from a client
- MsgResponsePing() - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePing
-
Builds a new response message
- MsgResponsePlayedCard - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player has successfully played a card
- MsgResponsePlayedCard(PlayerLobby, CardPlayableIF, Coordinates, Integer, List<Coordinates>) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedCard
-
Builds a new response message with the given player, the played card, the coordinates of the card, the points that the player has earned and the available coordinates
- MsgResponsePlayedStarter - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player has successfully played his starter card
- MsgResponsePlayedStarter(PlayerLobby, CardStarterIF, List<Coordinates>) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayedStarter
-
Builds a new response message with the given player, the played starter and the available coordinates
- MsgResponsePlayerDisconnected - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message that is sent when a player disconnects from an ongoing game
- MsgResponsePlayerDisconnected(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerDisconnected
-
Builds a new response message with the given player
- MsgResponsePlayerJoinedRoom - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player successfully joins or creates a room
- MsgResponsePlayerJoinedRoom(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerJoinedRoom
-
Builds a new response message with the given player
- MsgResponsePlayerLeftRoom - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player successfully leaves a game
- MsgResponsePlayerLeftRoom(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerLeftRoom
-
Builds a new response message with the given player
- MsgResponsePlayerReconnected - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when a player successfully reconnects to an existing game
- MsgResponsePlayerReconnected(PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePlayerReconnected
-
Builds a new response message with the given player
- MsgResponsePointsCalculated - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message containing the points of all the players after the last turn has been played (or only a player is left and the reconnection timer expired)
- MsgResponsePointsCalculated(Map<PlayerLobby, Integer>) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponsePointsCalculated
-
Builds a new response message with the given points
- MsgResponseStartGame - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent when the game starts, containing the game state at that moment
- MsgResponseStartGame(GameModelIF) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseStartGame
-
Builds a new response message with the given game state
- MsgResponseUpdateGameState - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message which is sent to the player who just reconnected to an already started match, containing the game state
- MsgResponseUpdateGameState(GameModelIF, PlayerLobby) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseUpdateGameState
-
Builds a new response message with the given game state
- MsgResponseWinner - Class in it.polimi.ingsw.am13.network.socket.message.response
-
Response message containing the list of players, one of which has won the game.
- MsgResponseWinner(List<PlayerLobby>) - Constructor for class it.polimi.ingsw.am13.network.socket.message.response.MsgResponseWinner
-
Builds a new response message with the given list of players
- musicAlreadyStarted - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Flag indicating if the current background music track has begun or not
- musicButton - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- musicPlayer - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Player of the background music
- musicTrackChoice - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
- musicTracksMap - Static variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
-
Map associating the strings shown in the choice box for the music tracks with the respective file name of the audio file.
- musicVolSlider - Variable in class it.polimi.ingsw.am13.client.view.gui.ViewGUIControllerMatch
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form