Index
All Classes|All Packages
L
- LEADER_PRODUCE - it.polimi.ingsw.controller.action.ActionType
- LeaderCard - Class in it.polimi.ingsw.model.leadercard
-
Represents a leader card
- LeaderCard(int, ResourceType, Map<CardFlag, Integer>, int, CardBehaviour) - Constructor for class it.polimi.ingsw.model.leadercard.LeaderCard
-
class constructor
- LeaderCard(ResourceType, Map<CardFlag, Integer>, int, CardBehaviour) - Constructor for class it.polimi.ingsw.model.leadercard.LeaderCard
- LEADERCARD_SETUP - it.polimi.ingsw.network.messages.MessageType
- LeaderCardDeck - Class in it.polimi.ingsw.model.leadercard
-
Represents the deck of leader cards before they are distributed to the players
- LeaderCardDeck() - Constructor for class it.polimi.ingsw.model.leadercard.LeaderCardDeck
- leaderCardParser() - Static method in class it.polimi.ingsw.utility.GSON
-
construct and setup LeaderCardDeck class from a JSON config file
- LeaderConstructor - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of a LeaderCard
- LeaderConstructor() - Constructor for class it.polimi.ingsw.view.cli.drawer.LeaderConstructor
- LeaderDiscardObservable - Interface in it.polimi.ingsw.model.modelobservables
- LeaderHandDrawer - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of the LeaderCards that has not been activated, the cards that the player has in is hand
- LeaderHandDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.LeaderHandDrawer
- LeaderIsActiveException - Exception in it.polimi.ingsw.model.modelexceptions
-
Thrown when one try to perform something that must be performed on an inactive leader card on an active leader card: e.g. try to discard an active leader card
- LeaderIsActiveException() - Constructor for exception it.polimi.ingsw.model.modelexceptions.LeaderIsActiveException
- LeaderIsActiveException(String) - Constructor for exception it.polimi.ingsw.model.modelexceptions.LeaderIsActiveException
- leaderProduce(int, ResourceType) - Method in class it.polimi.ingsw.model.PlayerBoard
-
Activate production on a leader card
- leaderProduce(ResourceType, InterfacePlayerBoard) - Method in class it.polimi.ingsw.model.leadercard.LeaderCard
-
activates the production ability does nothing if the card is not active or doesn't have this ability
- LeaderProduceBehaviour - Class in it.polimi.ingsw.model.leadercard
-
The CardBehaviour that represents the producing behaviour: a leader card with this behaviour can perform a production
- LeaderProduceBehaviour(ResourceType) - Constructor for class it.polimi.ingsw.model.leadercard.LeaderProduceBehaviour
- LeaderProductionAction - Class in it.polimi.ingsw.controller.action
-
An action to request to the model to activate the production on a specific leader card of a player
- LeaderProductionAction(int, ResourceType) - Constructor for class it.polimi.ingsw.controller.action.LeaderProductionAction
- LeaderProductionAction(String, int, ResourceType) - Constructor for class it.polimi.ingsw.controller.action.LeaderProductionAction
- leaderSetup(String, LeaderSetup) - Method in class it.polimi.ingsw.view.ClientModelState
- leaderSetup(String, LeaderSetup) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Setups non activated LeaderCards of the player whose name is the one passed as parameter
- leaderSetup(String, LeaderSetup) - Method in class it.polimi.ingsw.view.gui.controllers.GameboardController
-
Display leader cards during setup
- leaderSetup(String, LeaderSetup) - Method in class it.polimi.ingsw.view.gui.GUI
- leaderSetup(List<Integer>) - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
-
Display leader cards during setup
- LeaderSetup - Class in it.polimi.ingsw.model.updatecontainers
-
A special model update used to communicate to clients or views the initial
leader cardsof a player. - LeaderSetup(List<Integer>) - Constructor for class it.polimi.ingsw.model.updatecontainers.LeaderSetup
- LeaderSetupObservable - Interface in it.polimi.ingsw.model.modelobservables
- leaderSetupUpdate(String, LeaderSetup) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- leaderSetupUpdate(String, LeaderSetup) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- leaderSetupUpdate(String, LeaderSetup) - Method in interface it.polimi.ingsw.model.ModelObserver
- leaderUpdate(LeaderUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- leaderUpdate(LeaderUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- leaderUpdate(LeaderUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- leaderUpdate(String, LeaderUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- leaderUpdate(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 activating one of them
- leaderUpdate(String, LeaderUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- LeaderUpdate - Class in it.polimi.ingsw.model.updatecontainers
-
A model update represents an update concerning a
leader card. - LeaderUpdate(int) - Constructor for class it.polimi.ingsw.model.updatecontainers.LeaderUpdate
- loadEndGameLose() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Display lost (using the current stage)
- loadEndGameWin() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Display victory (using the current stage)
- loadGameboard() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Load the game board (closing the current stage and show in a new stage)
- loadLobby() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Show a loading screen waiting for other players connection (using the current stage)
- loadLogin() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Ask the user to insert username and gameID (using the current stage)
- loadNumberOfPlayer() - Method in class it.polimi.ingsw.view.gui.SceneController
-
Ask the user to insert the number of player of the game (using the current stage)
- LOBBY_CREATED - it.polimi.ingsw.network.messages.MessageType
- lobbyFXML - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lobbySetup(Message) - Method in class it.polimi.ingsw.network.server.Match
-
manages client interaction in the lobby creation phase if the message sender is the first player send him a message if he isn't the first player this methods tells all the other clients that a new player connected if all the players required are logged this method will start the match
- localGameSetup() - Method in class it.polimi.ingsw.network.client.Client
-
Setup the client to be able to play in local mode (without needing the server)
- localHostServerIP_checkBox - Variable in class it.polimi.ingsw.view.gui.controllers.ConnectionController
- LocalVirtualModel - Class in it.polimi.ingsw.network.client
-
Class instantiated once a game is played in local configuration.
- LocalVirtualModel(TurnManager, ClientTurnManagerInterface, Client) - Constructor for class it.polimi.ingsw.network.client.LocalVirtualModel
-
Constructor for LocalVirtualModel class
- LocalVirtualView - Class in it.polimi.ingsw.controller
-
A model observer that calls method directly on ClientModelUpdaterInterface when an update is received: used in local game (to instantiate instead of NetworkVirtualView)
- LocalVirtualView(ClientModelUpdaterInterface, String, LorenzoViewInterface) - Constructor for class it.polimi.ingsw.controller.LocalVirtualView
- loggedPlayers() - Method in class it.polimi.ingsw.network.server.Match
-
Returns a list of the logged players in the match NOTE: if a player disconnects he is considered still logged if he actually logged in successfully
- LOGIN_SUCCESSFUL - it.polimi.ingsw.network.messages.MessageType
- LoginController - Class in it.polimi.ingsw.view.gui.controllers
-
Java controller of the login.fxml file
- LoginController() - Constructor for class it.polimi.ingsw.view.gui.controllers.LoginController
- loginError(String) - Method in class it.polimi.ingsw.view.gui.controllers.ConnectionController
-
Notify the player that the connect failed
- loginFailed() - Method in class it.polimi.ingsw.view.gui.controllers.LoginController
-
Notify the player that the username is invalid
- loginFXML - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- logo - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- LORENZO_DECK_UPDATE - it.polimi.ingsw.network.messages.MessageType
- LORENZO_SHUFFLE_UPDATE - it.polimi.ingsw.network.messages.MessageType
- LORENZO_TRACK_UPDATE - it.polimi.ingsw.network.messages.MessageType
- LorenzoDevDeckObservable - Interface in it.polimi.ingsw.model.modelobservables
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates the DevelopCard Deck because Lorenzo has discarded a DevelopCard from the Deck
- lorenzoDevDeckUpdate(DevelopCardDeckUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- LorenzoDrawer - Class in it.polimi.ingsw.view.cli.drawer
-
Class that builds and fills the Cli representation of Lorenzo il Magnifico Builds and Fills the track and the last token played
- LorenzoDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.LorenzoDrawer
- lorenzoFaithTrackCross - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lorenzoMoveTrackToken - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lorenzoShuffleToken - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lorenzoShuffleUpdate() - Method in class it.polimi.ingsw.controller.LocalVirtualView
- lorenzoShuffleUpdate() - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- lorenzoShuffleUpdate() - Method in interface it.polimi.ingsw.model.ModelObserver
- lorenzoShuffleUpdate() - Method in class it.polimi.ingsw.view.ClientModelState
- lorenzoShuffleUpdate() - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates Lorenzo because of having shuffled
- lorenzoShuffleUpdate() - Method in class it.polimi.ingsw.view.gui.GUI
- LorenzoTrack - Class in it.polimi.ingsw.model.track
-
Represents the Lorenzo's track and his position in a single player game
- LorenzoTrack() - Constructor for class it.polimi.ingsw.model.track.LorenzoTrack
-
constructor of the class instances of this class are made with a json file
- lorenzoTrackCrossHeight - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lorenzoTrackCrossWidth - Static variable in class it.polimi.ingsw.view.gui.GuiResources
- lorenzoTrackParser() - Static method in class it.polimi.ingsw.utility.GSON
-
construct LorenzoTrack class from a JSON config file
- lorenzoTrackUpdate(TrackUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
- lorenzoTrackUpdate(TrackUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
- lorenzoTrackUpdate(TrackUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
- lorenzoTrackUpdate(TrackUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
- lorenzoTrackUpdate(TrackUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
-
Updates Lorenzo's track
- lorenzoTrackUpdate(TrackUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
- LorenzoViewInterface - Interface in it.polimi.ingsw.view
-
Interface containing the possible displays that can be done after Lorenzo plays
All Classes|All Packages