Index
All Classes|All Packages
D
- DECK_SETUP - it.polimi.ingsw.network.messages.MessageType
- DeckDrawer - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of the Develop Card Deck
- DeckDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.DeckDrawer
- DeckSetupObservable - Interface in it.polimi.ingsw.model.modelobservables
- deckTokensMap - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- deleteClient(ServerClientHandler) - Method in class it.polimi.ingsw.network.server.Match
-
Removes the specified client from the clients list and the clients Map
- deleteMatch() - Method in class it.polimi.ingsw.network.server.Match
-
Delete the match closing all sockets and deleting it from the server reference list
- deleteMatch(String) - Method in class it.polimi.ingsw.network.server.Server
-
Deletes the specified match from the server
- devDeckSetup(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- devDeckSetup(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- devDeckSetup(DevelopCardDeckSetup) - Method in interface it.polimi.ingsw.model.ModelObserver
- devDeckSetup(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.view.ClientModelState
- devDeckSetup(DevelopCardDeckSetup) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Setups the DevelopCard Deck
- devDeckSetup(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.view.gui.GUI
- devDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- devDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- devDeckUpdate(DevelopCardDeckUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- devDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- devDeckUpdate(DevelopCardDeckUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates the DevelopCard Deck
- devDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- DevDeckUpdateObservable - Interface in it.polimi.ingsw.model.modelobservables
- DEVELOP_CARD_DECK_UPDATED - it.polimi.ingsw.network.messages.MessageType
- DevelopCard - Class in it.polimi.ingsw.model
-
Represents a develop card
- DevelopCard(CardFlag, Map<ResourceType, Integer>, Map<ResourceType, Integer>, Map<ResourceType, Integer>, int) - Constructor for class it.polimi.ingsw.model.DevelopCard
- DevelopCardColor - Enum in it.polimi.ingsw.model
-
Represents all the possible color of a develop card
- DevelopCardConstructor - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of a DevelopCard
- DevelopCardConstructor() - Constructor for class it.polimi.ingsw.view.cli.drawer.DevelopCardConstructor
- developCardDeck - Variable in class it.polimi.ingsw.model.Game
- DevelopCardDeck - Class in it.polimi.ingsw.model
-
Represent the develop cards' deck where players can buy
- DevelopCardDeck() - Constructor for class it.polimi.ingsw.model.DevelopCardDeck
-
Default constructor because construction is handled by the cardParser method
- DevelopCardDeckSetup - Class in it.polimi.ingsw.model.updatecontainers
-
A special model update used to communicate to clients or views the initial state of a
develop card deck. - DevelopCardDeckSetup(List<Integer>[][]) - Constructor for class it.polimi.ingsw.model.updatecontainers.DevelopCardDeckSetup
- DevelopCardDeckUpdate - Class in it.polimi.ingsw.model.updatecontainers
-
A model update represents an update happened in a
develop card deck. - DevelopCardDeckUpdate(int, int) - Constructor for class it.polimi.ingsw.model.updatecontainers.DevelopCardDeckUpdate
- developProduce(int) - Method in class it.polimi.ingsw.model.PlayerBoard
-
Activate production on a develop card
- disableAll() - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
-
Set all disabled
- disableLeader() - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
-
Disable leader cards
- disableProduction() - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
-
Set disabled all the component concerning production
- DISCARD_LEADER - it.polimi.ingsw.controller.action.ActionType
- DISCARDED_LEADERCARD - it.polimi.ingsw.network.messages.MessageType
- discardedLeaderUpdate(LeaderUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- discardedLeaderUpdate(LeaderUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- discardedLeaderUpdate(LeaderUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- discardedLeaderUpdate(String, LeaderUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- discardedLeaderUpdate(String, LeaderUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates not activated LeaderCards of the player whose name is the one passed as parameter discarding one of them
- discardedLeaderUpdate(String, LeaderUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- DiscardInitialLeaderAction - Class in it.polimi.ingsw.controller.action
-
An action to specify which leader cards of a player must be discarded during the initial setup
- DiscardInitialLeaderAction(int, int) - Constructor for class it.polimi.ingsw.controller.action.DiscardInitialLeaderAction
- DiscardInitialLeaderAction(String, int, int) - Constructor for class it.polimi.ingsw.controller.action.DiscardInitialLeaderAction
- discardLeader(int) - Method in class it.polimi.ingsw.model.PlayerBoard
-
Remove 1 of the leader cards from leaderCards array during the game once the card is removed the faith marker on other players is moved forward by 1
- discardLeader(int) - Method in class it.polimi.ingsw.view.SimplePlayerState
-
discard a LeaderCard from the SimplePlayerState
- DiscardLeaderAction - Class in it.polimi.ingsw.controller.action
-
An action to request to the model to discard a specific leader card of a player
- DiscardLeaderAction(int) - Constructor for class it.polimi.ingsw.controller.action.DiscardLeaderAction
- DiscardLeaderAction(String, int) - Constructor for class it.polimi.ingsw.controller.action.DiscardLeaderAction
- discardLeaderAtBegin(int, int) - Method in class it.polimi.ingsw.model.PlayerBoard
-
Remove 1 of the leader cards from leaderCards array in the beginning of the game
- DiscardToken - Class in it.polimi.ingsw.model.singleplayer
-
Represents Lorenzo's action tokens that discard two development cards of the same color in a single player game
- DiscardToken(DevelopCardColor) - Constructor for class it.polimi.ingsw.model.singleplayer.DiscardToken
- DISCONNECTED - it.polimi.ingsw.network.messages.MessageType
- disconnectPlayer(String) - Method in class it.polimi.ingsw.model.Game
-
Sets the specified player as disconnected
- discount(HashMap<ResourceType, Integer>) - Method in class it.polimi.ingsw.model.leadercard.CardBehaviour
-
applies discount to the map passed as a parameter NOTE: the method modifies the map passed as a parameter in order to apply the discount does nothing if the card doesn't have this ability
- discount(HashMap<ResourceType, Integer>) - Method in class it.polimi.ingsw.model.leadercard.DiscountBehaviour
- DiscountBehaviour - Class in it.polimi.ingsw.model.leadercard
-
The CardBehaviour that represents the discount behaviour: a leader card with this behaviour will reduce the develop card price
- DiscountBehaviour(ResourceType) - Constructor for class it.polimi.ingsw.model.leadercard.DiscountBehaviour
- displayActiveLeaders(String) - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds and prints the active leaders of the player with the username passed as parameter
- displayAlreadyProduced() - Method in class it.polimi.ingsw.view.cli.Cli
- displayAlreadyProduced() - Method in class it.polimi.ingsw.view.gui.GUI
- displayAlreadyProduced() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the production on a certain card can't be done because it as already been used in this turn
- displayCannotDiscardActiveLeader() - Method in class it.polimi.ingsw.view.cli.Cli
- displayCannotDiscardActiveLeader() - Method in class it.polimi.ingsw.view.gui.GUI
- displayCannotDiscardActiveLeader() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the deletion of the leader the player wanted to discard can't be done because it's active
- displayCannotJoinMatch() - Method in class it.polimi.ingsw.view.cli.Cli
- displayCannotJoinMatch() - Method in class it.polimi.ingsw.view.gui.GUI
- displayCannotJoinMatch() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the player cannot join the match they tried to: i.e. the match doesn't exist, the match is full or the match is already started
- displayChooseLeaderOnWhite() - Method in class it.polimi.ingsw.view.cli.Cli
- displayChooseLeaderOnWhite() - Method in class it.polimi.ingsw.view.gui.GUI
- displayChooseLeaderOnWhite() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the choice of the LeaderCard in case the marble to insert is white
- displayDefaultCanvas(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayDefaultCanvas(String) - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints the default representation of the game.
- displayDefaultCanvas(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayDefaultCanvas(String) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the default canvas of the player whose name is the one passed as parameter
- displayDisconnected() - Method in class it.polimi.ingsw.view.cli.Cli
-
Method used to show disconnection from server
- displayDisconnected() - Method in class it.polimi.ingsw.view.gui.GUI
- displayDisconnected() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayFailedLogin() - Method in class it.polimi.ingsw.view.cli.Cli
- displayFailedLogin() - Method in class it.polimi.ingsw.view.gui.GUI
- displayFailedLogin() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the username is already taken
- displayFatalError(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayFatalError(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayFatalError(String) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Display a fatal error and ask the player to close the game
- displayFinalPhase() - Method in class it.polimi.ingsw.view.cli.Cli
- displayFinalPhase() - Method in class it.polimi.ingsw.view.gui.GUI
- displayFinalPhase() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Enable the only actions that can be done in Final Phase
- displayGameAlreadyStarted() - Method in class it.polimi.ingsw.view.cli.Cli
- displayGameAlreadyStarted() - Method in class it.polimi.ingsw.view.gui.GUI
- displayGameAlreadyStarted() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the player can't join the game because it's already started
- displayGameEnded(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayGameEnded(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayGameEnded(String) - Method in interface it.polimi.ingsw.view.LorenzoViewInterface
-
Displays that the game has ended
- displayGameStarted() - Method in class it.polimi.ingsw.view.cli.Cli
- displayGameStarted() - Method in class it.polimi.ingsw.view.gui.GUI
- displayGameStarted() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the game is started
- displayInitialResourcesChoice() - Method in class it.polimi.ingsw.view.cli.Cli
- displayInitialResourcesChoice() - Method in class it.polimi.ingsw.view.gui.GUI
- displayInitialResourcesChoice() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the four marbles associated to a resource
- displayInitialResourcesChoice(String) - Method in class it.polimi.ingsw.view.gui.controllers.GameboardController
-
Display the tmp marbles bought form market
- displayInvalidCardPlacement() - Method in class it.polimi.ingsw.view.cli.Cli
- displayInvalidCardPlacement() - Method in class it.polimi.ingsw.view.gui.GUI
- displayInvalidCardPlacement() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that a card can't be placed in the slot the player wanted to
- displayInvalidLeadercard() - Method in class it.polimi.ingsw.view.cli.Cli
- displayInvalidLeadercard() - Method in class it.polimi.ingsw.view.gui.GUI
- displayInvalidLeadercard() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the player has inserted a LeaderCard that is not valid
- displayLeaderChoiceLable(String) - Method in class it.polimi.ingsw.view.gui.controllers.GameboardController
-
Ask the player to discard two leader card during setup
- displayLeaderHand() - Method in class it.polimi.ingsw.view.cli.Cli
- displayLeaderHand() - Method in class it.polimi.ingsw.view.gui.GUI
- displayLeaderHand() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the LeaderCard of this client that have not been activated yet
- displayLeaderHand(String) - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds and prints the leader hand of the player with the username passed as parameter
- displayLobbyCreated() - Method in class it.polimi.ingsw.view.cli.Cli
- displayLobbyCreated() - Method in class it.polimi.ingsw.view.gui.GUI
- displayLobbyCreated() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the lobby has been successfully created
- displayLogin() - Method in class it.polimi.ingsw.view.cli.Cli
- displayLogin() - Method in class it.polimi.ingsw.view.gui.GUI
- displayLogin() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the login setup.
- displayLoginSuccessful(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayLoginSuccessful(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayLoginSuccessful(String) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that login setup has been operated correctly
- displayLorenzoDiscarded(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.cli.Cli
- displayLorenzoDiscarded(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- displayLorenzoDiscarded(DevelopCardDeckUpdate) - Method in interface it.polimi.ingsw.view.LorenzoViewInterface
-
Displays that Lorenzo's last move hase been a discard
- displayLorenzoHasDiscarded(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints Lorenzo track and last token flipped
- displayLorenzoHasMoved() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints Lorenzo track and last token flipped
- displayLorenzoHasShuffled() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints Lorenzo track and last token flipped
- displayLorenzoMoved() - Method in class it.polimi.ingsw.view.cli.Cli
- displayLorenzoMoved() - Method in class it.polimi.ingsw.view.gui.GUI
- displayLorenzoMoved() - Method in interface it.polimi.ingsw.view.LorenzoViewInterface
-
Displays that Lorenzo has moved his faith mark
- displayLorenzoShuffled() - Method in class it.polimi.ingsw.view.cli.Cli
- displayLorenzoShuffled() - Method in class it.polimi.ingsw.view.gui.GUI
- displayLorenzoShuffled() - Method in interface it.polimi.ingsw.view.LorenzoViewInterface
-
Displays that Lorenzo's last move hase been a shuffle
- displayMarbleShopping() - Method in class it.polimi.ingsw.view.cli.Cli
- displayMarbleShopping() - Method in class it.polimi.ingsw.view.gui.GUI
- displayMarbleShopping() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the marbles player got from the market and let him insert one
- displayMarket() - Method in class it.polimi.ingsw.view.cli.Cli
- displayMarket() - Method in class it.polimi.ingsw.view.gui.GUI
- displayMarket() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayMatchAlreadyExist() - Method in class it.polimi.ingsw.view.cli.Cli
- displayMatchAlreadyExist() - Method in class it.polimi.ingsw.view.gui.GUI
- displayMatchAlreadyExist() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the name of the match the player tried to create is occupied by another match
- displayNetworkSetup() - Method in class it.polimi.ingsw.view.cli.Cli
- displayNetworkSetup() - Method in class it.polimi.ingsw.view.gui.GUI
- displayNetworkSetup() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Display the network setup options.
- displayNotActivatableProduction() - Method in class it.polimi.ingsw.view.cli.Cli
- displayNotActivatableProduction() - Method in class it.polimi.ingsw.view.gui.GUI
- displayNotActivatableProduction() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the production on a certain card can't be done because resources are not enough
- displayNotBuyable() - Method in class it.polimi.ingsw.view.cli.Cli
- displayNotBuyable() - Method in class it.polimi.ingsw.view.gui.GUI
- displayNotBuyable() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the player can't buy the card he wanted because he hasn't enough resources
- displayNotEnoughResources() - Method in class it.polimi.ingsw.view.cli.Cli
- displayNotEnoughResources() - Method in class it.polimi.ingsw.view.gui.GUI
- displayNotEnoughResources() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the action can't be performed because resources are not enough
- displayOtherUserJoined(Message) - Method in class it.polimi.ingsw.view.cli.Cli
- displayOtherUserJoined(Message) - Method in class it.polimi.ingsw.view.gui.GUI
- displayOtherUserJoined(Message) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that another player joined the lobby
- displayPlainCanvas() - Method in class it.polimi.ingsw.view.cli.Cli
- displayPlainCanvas() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Prints a plain canvas
- displayPlainCanvas() - Method in class it.polimi.ingsw.view.gui.GUI
- displayPlainCanvas() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays a plain canvas
- displayPlayerBoard(String) - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills the PlayerBoard of the player which as the username that is passed as parameter
- displayPlayersNumberChoice() - Method in class it.polimi.ingsw.view.cli.Cli
- displayPlayersNumberChoice() - Method in class it.polimi.ingsw.view.gui.GUI
- displayPlayersNumberChoice() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays the choice of the number of players
- displayPlayerTurn(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayPlayerTurn(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayPlayerTurn(String) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that it's the turn of the player whose name is the one passed as parameter
- displayProducibleCards() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, Fills and displays the cards on which the player can active the production on
- displayProducingPhase() - Method in class it.polimi.ingsw.view.cli.Cli
- displayProducingPhase() - Method in class it.polimi.ingsw.view.gui.GUI
- displayProducingPhase() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Enable the only actions that can be done in Production Phase
- displayRecievedLeadercards() - Method in class it.polimi.ingsw.view.cli.Cli
- displayRecievedLeadercards() - Method in class it.polimi.ingsw.view.gui.GUI
- displayRecievedLeadercards() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayReconnection() - Method in class it.polimi.ingsw.view.cli.Cli
- displayReconnection() - Method in class it.polimi.ingsw.view.gui.GUI
- displayReconnection() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayResourcesChoice() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Prints the four marbles associated to resources
- displayServerDown() - Method in class it.polimi.ingsw.view.cli.Cli
- displayServerDown() - Method in class it.polimi.ingsw.view.gui.GUI
- displayServerDown() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the server has crashed
- displaySetupFailure() - Method in class it.polimi.ingsw.view.cli.Cli
- displaySetupFailure() - Method in class it.polimi.ingsw.view.gui.GUI
- displaySetupFailure() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that the server can not be reached
- displayShoppingPhase() - Method in class it.polimi.ingsw.view.cli.Cli
- displayShoppingPhase() - Method in class it.polimi.ingsw.view.gui.GUI
- displayShoppingPhase() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayWaiting() - Method in class it.polimi.ingsw.view.cli.Cli
- displayWaiting() - Method in class it.polimi.ingsw.view.gui.GUI
- displayWaiting() - Method in interface it.polimi.ingsw.view.ViewInterface
- displayYouJoined() - Method in class it.polimi.ingsw.view.cli.Cli
- displayYouJoined() - Method in class it.polimi.ingsw.view.gui.GUI
- displayYouJoined() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays that you have successfully joined the lobby
- displayYourTurn(String) - Method in class it.polimi.ingsw.view.cli.Cli
- displayYourTurn(String) - Method in class it.polimi.ingsw.view.gui.GUI
- displayYourTurn(String) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Displays to the player whose name is the one passed as parameter that is it's turn
- drawDevelopCardDeck() - Method in class it.polimi.ingsw.view.cli.CliDrawer
-
Builds, fills and prints the DevelopCard Deck
- drawFourCards() - Method in class it.polimi.ingsw.model.leadercard.LeaderCardDeck
-
draws 4 cards from the deck and returns them as a list
All Classes|All Packages