Index

A B C D E F G H I J L M N O P Q R S T U V W Y 
All Classes|All Packages

C

calculateDevelopCardScore() - Method in class it.polimi.ingsw.model.CardSlots
Calculate the amount of victory points in CardSlots
calculateTrackScore() - Method in class it.polimi.ingsw.model.track.Track
Calculate track's points
CANNOT_DISCARD_ACTIVE_LEADER - it.polimi.ingsw.network.messages.ErrorType
 
CANNOT_DISCARD_ACTIVE_LEADER - Static variable in class it.polimi.ingsw.view.ClientStrings
 
CANNOT_JOIN_MATCH - it.polimi.ingsw.network.messages.ErrorType
 
CANNOT_JOIN_MATCH - Static variable in class it.polimi.ingsw.view.ClientStrings
 
CARD_SLOT_UPDATE - it.polimi.ingsw.network.messages.MessageType
 
CardBehaviour - Class in it.polimi.ingsw.model.leadercard
Class that contains all possibile leaderCards behaviours.
CardBehaviour() - Constructor for class it.polimi.ingsw.model.leadercard.CardBehaviour
 
CardFlag - Class in it.polimi.ingsw.model
Represents a develop card banner (i.e. level and colour of a develop card)
CardFlag(int, DevelopCardColor) - Constructor for class it.polimi.ingsw.model.CardFlag
Constructor for cardFlag class.
cardHeight - Static variable in class it.polimi.ingsw.view.gui.GuiResources
 
cardParser() - Static method in class it.polimi.ingsw.utility.GSON
construct and setup a DevelopCardDeck class from a JSON config file
CardSlotObservable - Interface in it.polimi.ingsw.model.modelobservables
 
CardSlots - Class in it.polimi.ingsw.model
Represents the set of card slots of a player where they can place their develop cards
CardSlots() - Constructor for class it.polimi.ingsw.model.CardSlots
 
CardSlotsDrawer - Class in it.polimi.ingsw.view.cli.drawer
Class that builds and fills the Cli representation of the Card Slots
CardSlotsDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.CardSlotsDrawer
 
cardSlotUpdate(CardSlotUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
 
cardSlotUpdate(CardSlotUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
 
cardSlotUpdate(CardSlotUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
 
cardSlotUpdate(CardSlotUpdate) - Method in class it.polimi.ingsw.view.SimplePlayerState
Updates the CardSlots
cardSlotUpdate(String, CardSlotUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
 
cardSlotUpdate(String, CardSlotUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
Updates the CardSlots of the player whose name is the one passed as parameter
cardSlotUpdate(String, CardSlotUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
 
CardSlotUpdate - Class in it.polimi.ingsw.model.updatecontainers
A model update represents an update happened in a card slot.
CardSlotUpdate(int, int) - Constructor for class it.polimi.ingsw.model.updatecontainers.CardSlotUpdate
 
cardWidth - Static variable in class it.polimi.ingsw.view.gui.GuiResources
 
CHEAT - it.polimi.ingsw.network.messages.MessageType
 
checkIfCurrentPositionIsActive(int) - Method in class it.polimi.ingsw.model.track.Track
Method called by phaseUpdate() of VaticanReportObserver interface once it's called it check if the player is into the active zone that it receives from the phaseUpdate Set the correct value in popeCards array, depending on active and position of the player
checkLocal() - Method in class it.polimi.ingsw.view.gui.controllers.LoginController
Check if the game is local and in case set invisible the correct components
Chest - Class in it.polimi.ingsw.model
Represents the chest of player.
Chest() - Constructor for class it.polimi.ingsw.model.Chest
 
CHEST_MERGED - it.polimi.ingsw.network.messages.MessageType
 
CHEST_UPDATE - it.polimi.ingsw.network.messages.MessageType
 
ChestDrawer - Class in it.polimi.ingsw.view.cli.drawer
Class that builds and fills the Cli representation of the Chest
ChestDrawer() - Constructor for class it.polimi.ingsw.view.cli.drawer.ChestDrawer
 
ChestMergeObservable - Interface in it.polimi.ingsw.model.modelobservables
 
chestMergeUpdate() - Method in class it.polimi.ingsw.controller.LocalVirtualView
 
chestMergeUpdate() - Method in class it.polimi.ingsw.controller.NetworkVirtualView
 
chestMergeUpdate() - Method in interface it.polimi.ingsw.model.ModelObserver
 
chestMergeUpdate() - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
Display merging between tmp chest and normal chest
chestMergeUpdate(String) - Method in class it.polimi.ingsw.view.ClientModelState
 
chestMergeUpdate(String) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
Merges the temporary chest of the player whose name is the one passed as parameter into his chest
chestMergeUpdate(String) - Method in class it.polimi.ingsw.view.gui.GUI
 
chestUpdate(ChestUpdate) - Method in class it.polimi.ingsw.controller.LocalVirtualView
 
chestUpdate(ChestUpdate) - Method in class it.polimi.ingsw.controller.NetworkVirtualView
 
chestUpdate(ChestUpdate) - Method in interface it.polimi.ingsw.model.ModelObserver
 
chestUpdate(ChestUpdate) - Method in class it.polimi.ingsw.view.SimplePlayerState
Updates the chest
chestUpdate(String, ChestUpdate) - Method in class it.polimi.ingsw.view.ClientModelState
 
chestUpdate(String, ChestUpdate) - Method in interface it.polimi.ingsw.view.ClientModelUpdaterInterface
Updates the chest of the player whose name is the one passed as parameter
chestUpdate(String, ChestUpdate) - Method in class it.polimi.ingsw.view.gui.GUI
 
ChestUpdate - Class in it.polimi.ingsw.model.updatecontainers
A model update represents an update happened in a chest.
ChestUpdate(ResourceType, int) - Constructor for class it.polimi.ingsw.model.updatecontainers.ChestUpdate
 
ChestUpdateObservable - Interface in it.polimi.ingsw.model.modelobservables
 
CHOOSE_WHITE_LEADER - it.polimi.ingsw.controller.action.ActionType
 
ChooseInitialResourcesAction - Class in it.polimi.ingsw.controller.action
An action to specify the initial resources of a player
ChooseInitialResourcesAction(String, Map<ResourceType, Integer>) - Constructor for class it.polimi.ingsw.controller.action.ChooseInitialResourcesAction
 
ChooseInitialResourcesAction(Map<ResourceType, Integer>) - Constructor for class it.polimi.ingsw.controller.action.ChooseInitialResourcesAction
 
ChooseLeaderOnWhiteMarbleAction - Class in it.polimi.ingsw.controller.action
An action used to specify which leader card must be used to convert a white marble
ChooseLeaderOnWhiteMarbleAction(int) - Constructor for class it.polimi.ingsw.controller.action.ChooseLeaderOnWhiteMarbleAction
 
ChooseLeaderOnWhiteMarbleAction(String, int) - Constructor for class it.polimi.ingsw.controller.action.ChooseLeaderOnWhiteMarbleAction
 
clearLeaderVbox() - Method in class it.polimi.ingsw.view.gui.controllers.PlayerboardController
 
Cli - Class in it.polimi.ingsw.view.cli
CLI client class, manages the game if the player decides to play with Command Line Interface
Cli(ClientStateViewer, CliDrawer, Client) - Constructor for class it.polimi.ingsw.view.cli.Cli
Constructor for Cli class
CliDrawer - Class in it.polimi.ingsw.view.cli
Class that manage the Cli representation of the game state
CliDrawer(ClientStateViewer) - Constructor for class it.polimi.ingsw.view.cli.CliDrawer
Constructor for CliDrawer class
client - Variable in class it.polimi.ingsw.view.gui.controllers.GUIController
 
Client - Class in it.polimi.ingsw.network.client
Main class to manage the client side of the application.
Client() - Constructor for class it.polimi.ingsw.network.client.Client
 
CLIENT_TIMEOUT - Static variable in class it.polimi.ingsw.utility.ConfigParameters
 
ClientModelState - Class in it.polimi.ingsw.view
Class that contains game state client side
ClientModelState() - Constructor for class it.polimi.ingsw.view.ClientModelState
Constructor for ClientModelState class
ClientModelUpdaterInterface - Interface in it.polimi.ingsw.view
Interface used to receive all the updates from the client
ClientStateViewer - Interface in it.polimi.ingsw.view
Interface that enables querying on client side model state
ClientStrings - Class in it.polimi.ingsw.view
Class containing the possible error outputs
ClientTurnManagerInterface - Interface in it.polimi.ingsw.network.client
Interface of the turn manager client side
CliTurnManager - Class in it.polimi.ingsw.network.client
Class instantiated once a game is played in CLI configuration.
CliTurnManager(Client, ViewInterface, ClientStateViewer) - Constructor for class it.polimi.ingsw.network.client.CliTurnManager
Constructor for CliTurnManager class
close() - Method in class it.polimi.ingsw.network.client.Client
print disconnection message in console, disconnects client socket and terminate client execution
closeSocket() - Method in class it.polimi.ingsw.network.server.ServerClientHandler
closes this client's socket
coin - Static variable in class it.polimi.ingsw.view.gui.GuiResources
 
Color - Enum in it.polimi.ingsw.view.cli
Enumeration of the colors used in Cli
ConfigParameters - Class in it.polimi.ingsw.utility
Contains configuration parameters for the project
ConnectionController - Class in it.polimi.ingsw.view.gui.controllers
Java controller of the connection.fxml file
ConnectionController() - Constructor for class it.polimi.ingsw.view.gui.controllers.ConnectionController
 
connectionFXML - Static variable in class it.polimi.ingsw.view.gui.GuiResources
 
connectToServer(String, int) - Method in class it.polimi.ingsw.network.client.Client
Establishes a connection with the server given IP and port to connect to
constructDeck(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.view.gui.controllers.GameboardController
Construct the gui's develop card deck
constructDeck(DevelopCardDeckSetup) - Method in class it.polimi.ingsw.view.SimpleGameState
Setups the DevelopCard Deck
constructDevelopFromId(int) - Static method in class it.polimi.ingsw.view.cli.drawer.DevelopCardConstructor
Build a Cli representation of the DevelopCard associated to the id passed as parameter
constructLeaderFromId(int) - Static method in class it.polimi.ingsw.view.cli.drawer.LeaderConstructor
Build a Cli representation of the LeaderCard associated to the id passed as parameter
constructMarket(MarketSetup) - Method in class it.polimi.ingsw.view.gui.controllers.GameboardController
Construct the GUI's market
constructMarket(MarketSetup) - Method in class it.polimi.ingsw.view.SimpleGameState
Setups the market
controller - Variable in class it.polimi.ingsw.model.Game
 
ControllerException - Exception in it.polimi.ingsw.controller.controllerexception
A generic controller exception
ControllerException() - Constructor for exception it.polimi.ingsw.controller.controllerexception.ControllerException
 
ControllerException(String) - Constructor for exception it.polimi.ingsw.controller.controllerexception.ControllerException
 
countDown - Static variable in class it.polimi.ingsw.utility.ConfigParameters
 
CREATE_MATCH - it.polimi.ingsw.network.messages.MessageType
 
createNewMatch(String) - Method in class it.polimi.ingsw.network.server.Server
Creates a new match with the specified Id
createStorage(InterfacePlayerBoard) - Method in class it.polimi.ingsw.model.leadercard.CardBehaviour
adds level to the warehouse of the specified playerBoard so that the leaderCard level becomes usable.
createStorage(InterfacePlayerBoard) - Method in class it.polimi.ingsw.model.leadercard.StorageBehaviour
 
currentPhasePrint() - Method in interface it.polimi.ingsw.network.client.ClientTurnManagerInterface
Manages the possible actions based on the current phase
currentPhasePrint() - Method in class it.polimi.ingsw.network.client.CliTurnManager
 
currentPhasePrint() - Method in class it.polimi.ingsw.network.client.GuiTurnManager
 
A B C D E F G H I J L M N O P Q R S T U V W Y 
All Classes|All Packages