Index
All Classes|All Packages
M
- main(String[]) - Static method in class it.polimi.ingsw.Main
-
The first method called when running the jar file.
- main(String[]) - Static method in class it.polimi.ingsw.network.client.Client
- main(String[]) - Static method in class it.polimi.ingsw.network.server.Server
- Main - Class in it.polimi.ingsw
-
The class containing the first main method called when running the jar file
- Main() - Constructor for class it.polimi.ingsw.Main
- MALFORMED_MESSAGE - it.polimi.ingsw.network.messages.ErrorType
- MARBLE_NOT_EXIST - it.polimi.ingsw.network.messages.ErrorType
- marbleCharacter - Static variable in class it.polimi.ingsw.utility.ConfigParameters
- MarbleColor - Enum in it.polimi.ingsw.model.market
-
Represents the color of a market marble, it's used in json serialization
- MarbleModifierBehaviour - Class in it.polimi.ingsw.model.leadercard
-
The CardBehaviour that represents the producing behaviour: a leader card with this behaviour will convert white market marbles
- MarbleModifierBehaviour(ResourceType) - Constructor for class it.polimi.ingsw.model.leadercard.MarbleModifierBehaviour
- MarbleNotExistException - Exception in it.polimi.ingsw.model.modelexceptions
-
Thrown when a specified marble doesn't exist
- MarbleNotExistException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.MarbleNotExistException
- MarbleNotExistException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MarbleNotExistException
- marbleRadius - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- MarginConstructor - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds margins
- MarginConstructor() - Constructor for class it.polimi.ingsw.view.cli.drawer.MarginConstructor
- Market - Class in it.polimi.ingsw.model.market
-
Represents the market of the game where players can buy a row or column of marble that will be converted in resources
- Market(ModelObserver) - Constructor for class it.polimi.ingsw.model.market.Market
- MARKET_SETUP - it.polimi.ingsw.network.messages.MessageType
- MARKET_UPDATED - it.polimi.ingsw.network.messages.MessageType
- marketArrow - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- marketDisplay() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints the Market
- MarketDrawer - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of the Market
- MarketDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.MarketDrawer
- MarketMarble - Class in it.polimi.ingsw.model.market
-
Represents a generic market marble
- MarketMarble(MarbleColor) - Constructor for class it.polimi.ingsw.model.market.MarketMarble
- marketSetup(MarketSetup) - Method in class it.polimi.ingsw.view.ClientModelState
- marketSetup(MarketSetup) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Setups the market
- marketSetup(MarketSetup) - Method in class it.polimi.ingsw.view.gui.GUI
- MarketSetup - Class in it.polimi.ingsw.model.updatecontainers
-
A special model update used to communicate to clients or views the initial state of a
market. - MarketSetup(MarbleColor[][], MarbleColor) - Constructor for class it.polimi.ingsw.model.updatecontainers.MarketSetup
- MarketSetupObservable - Interface in it.polimi.ingsw.model.modelobservables
- marketSetupUpdate(MarketSetup) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- marketSetupUpdate(MarketSetup) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- marketSetupUpdate(MarketSetup) - Method in interface it.polimi.ingsw.model.ModelObserver
- marketUpdate(MarketUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- marketUpdate(MarketUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- marketUpdate(MarketUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- marketUpdate(MarketUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- marketUpdate(MarketUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates the market
- marketUpdate(MarketUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- MarketUpdate - Class in it.polimi.ingsw.model.updatecontainers
-
A model update represents an update happened in a
market. - MarketUpdate(boolean, int) - Constructor for class it.polimi.ingsw.model.updatecontainers.MarketUpdate
- MarketUpdateObservable - Interface in it.polimi.ingsw.model.modelobservables
- match - Variable in class it.polimi.ingsw.controller.NetworkVirtualView
- Match - Class in it.polimi.ingsw.network.server
-
This class contains reference to all the clientHandlers in order to manage at an high level of abstraction the message sending process and the client disconnections inside of a match.
- Match(String, Server) - Constructor for class it.polimi.ingsw.network.server.Match
- MATCH_ALREADY_EXISTS - it.polimi.ingsw.network.messages.ErrorType
- MATCH_ALREADY_EXISTS - Static variable in class it.polimi.ingsw.view.ClientStrings
- matchBroadcastUpdate(Message) - Method in class it.polimi.ingsw.network.server.Match
-
sends broadcast phaseUpdate message
- matchIdPresent(String) - Method in class it.polimi.ingsw.network.server.Server
-
Returns true if the specified matchId is already present in the server
- matchSingleUpdate(Message) - Method in class it.polimi.ingsw.network.server.Match
-
sends phaseUpdate message only to the current player
- MAX_CONSECUTIVE_MALFORMED_MESSAGE - Static variable in class it.polimi.ingsw.utility.ConfigParameters
- MAX_PORT - Static variable in class it.polimi.ingsw.network.client.Client
- MAX_PORT_NUMBER - Static variable in class it.polimi.ingsw.network.server.Server
- MaximumNumberOfPlayersException - Exception in it.polimi.ingsw.model.modelexceptions
-
Thrown when one try to start a game with too many players
- MaximumNumberOfPlayersException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaximumNumberOfPlayersException
- MaximumNumberOfPlayersException(int) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaximumNumberOfPlayersException
- MaximumNumberOfPlayersException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaximumNumberOfPlayersException
- MaximumNumberOfPlayersException(String, int) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaximumNumberOfPlayersException
- MaxLeaderCardLevelsException - Exception in it.polimi.ingsw.model.modelexceptions
-
Thrown when one try to add to warehouse too many special leader card's levels (try to activate too many storage leader cards)
- MaxLeaderCardLevelsException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaxLeaderCardLevelsException
- MaxLeaderCardLevelsException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MaxLeaderCardLevelsException
- maxLeaderCardsLevels() - Method in class it.polimi.ingsw.model.Warehouse
- mergeTempChest() - Method in class it.polimi.ingsw.view.SimplePlayerState
-
Merges the temporary chest of this SimplePlayerState into his chest
- Message - Class in it.polimi.ingsw.network.messages
-
Represents a message between client and server in network
- Message(MessageType) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with the specified MessageType
- Message(MessageType, Object) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with a payload as an Object, a messageType and an empty username
- Message(MessageType, String) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with a payload, a messageType and an empty username
- Message(String, MessageType) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with an username, a messageType and an empty payload
- Message(String, MessageType, Object) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with an username, a payload as an Object and a messageType
- Message(String, MessageType, String) - Constructor for class it.polimi.ingsw.network.messages.Message
-
construct a message with an username, a payload as a String and a messageType
- MessageType - Enum in it.polimi.ingsw.network.messages
-
Represents the possible type of messages
- MIN_PORT - Static variable in class it.polimi.ingsw.network.client.Client
- MIN_PORT_NUMBER - Static variable in class it.polimi.ingsw.network.server.Server
- ModelException - Exception in it.polimi.ingsw.model.modelexceptions
-
A generic model exception
- ModelException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.ModelException
- ModelException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.ModelException
- ModelObserver - Interface in it.polimi.ingsw.model
-
Defines all the required method of class used to observe the model
- ModelUpdate - Interface in it.polimi.ingsw.model.updatecontainers
-
A generic model update.
- MoreWhiteLeaderCardsException - Exception in it.polimi.ingsw.model.modelexceptions
-
Thrown when one try to add into warehouse a white marble having more than one leader card that can convert it without specify which of them must be used
- MoreWhiteLeaderCardsException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.MoreWhiteLeaderCardsException
- MoreWhiteLeaderCardsException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.MoreWhiteLeaderCardsException
- moveForward(int) - Method in class it.polimi.ingsw.model.track.LorenzoTrack
-
Let Lorenzo move his faith marker along the track Every time Lorenzo steps on a red Square the track's observers are notified When Lorenzo reaches the end (Square 24) the observer that manage the end game is notified
- moveForward(int) - Method in class it.polimi.ingsw.model.track.Track
-
Let the player move his faith marker along the track Every time a player steps on a red Square the track's observers are notified When a player reaches the end (Square 24) the observer that manage the end game is notified
- MoveForwardObservable - Interface in it.polimi.ingsw.model
-
It's used together with
MoveForwardObserverto notify a track that have to move their faith marker - MoveForwardObserver - Interface in it.polimi.ingsw.model
-
It's used together with
MoveForwardObservableto notify a track that have to move their faith marker
All Classes|All Packages