Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- c - Static variable in class it.polimi.ingsw.server.repository.EventsRepository
- c - Variable in class it.polimi.ingsw.server.repository.GamesRepository
- c - Variable in class it.polimi.ingsw.server.repository.UsersRepository
- card - Variable in class it.polimi.ingsw.client.new_gui.input_handler.InputParams
- card - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.PlayCardMsg
- card - Variable in class it.polimi.ingsw.server.model.game_logic.events.PlayCardEvent
- card(Card) - Method in class it.polimi.ingsw.client.new_gui.input_handler.InputParams
- Card - Enum Class in it.polimi.ingsw.server.model.game_logic.enums
-
This class represents each one of the 10 cards provided to each player at the start of a game.
- Card(int, int) - Constructor for enum class it.polimi.ingsw.server.model.game_logic.enums.Card
- CARD_IS_NOT_IN_THE_DECK - Enum constant in enum class it.polimi.ingsw.server.controller.game_state_controller.messages.enums.ReturnMessage
- CARD_NOT_PLAYED - Enum constant in enum class it.polimi.ingsw.server.controller.game_state_controller.messages.enums.ReturnMessage
- CARD_PLAYED - Enum constant in enum class it.polimi.ingsw.server.controller.game_state_controller.messages.enums.ReturnMessage
- CardClick - Enum constant in enum class it.polimi.ingsw.client.new_gui.input_handler.InputEventType
- cardImageMap - Static variable in class it.polimi.ingsw.client.new_gui.AssetHolder
- CardIsNotInTheDeckException - Exception Class in it.polimi.ingsw.server.controller.game_state_controller.exceptions
- CardIsNotInTheDeckException() - Constructor for exception class it.polimi.ingsw.server.controller.game_state_controller.exceptions.CardIsNotInTheDeckException
- CardNotPlayedException - Exception Class in it.polimi.ingsw.server.controller.game_state_controller.exceptions
- CardNotPlayedException() - Constructor for exception class it.polimi.ingsw.server.controller.game_state_controller.exceptions.CardNotPlayedException
- cardPlayed() - Method in class it.polimi.ingsw.server.controller.game_state_controller.GameStateController
- cardPlayedRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardPlayedRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardPlayedRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardPlayedRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardPlayedRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardsRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardsRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardsRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardsRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cardsRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- CardsRenderer - Class in it.polimi.ingsw.client.new_gui.views.player_view
- CardsRenderer() - Constructor for class it.polimi.ingsw.client.new_gui.views.player_view.CardsRenderer
- CAT - Enum constant in enum class it.polimi.ingsw.server.model.game_logic.enums.Card
- Character - Enum Class in it.polimi.ingsw.server.model.game_logic.enums
- Character(int, int, String, int) - Constructor for enum class it.polimi.ingsw.server.model.game_logic.enums.Character
- CHARACTER_PLAYED - Enum constant in enum class it.polimi.ingsw.server.controller.game_state_controller.messages.enums.ReturnMessage
- characterActivation - Static variable in class it.polimi.ingsw.client.new_gui.AssetHolder
- CharacterActivation - Enum constant in enum class it.polimi.ingsw.client.new_gui.input_handler.InputEventType
- characterId - Variable in class it.polimi.ingsw.client.new_gui.views.player_view.CharacterPromptController
- characterId - Variable in enum class it.polimi.ingsw.server.model.game_logic.enums.Character
- characterId - Variable in class it.polimi.ingsw.server.model.game_logic.LightPlayableCharacter
- characterId - Variable in class it.polimi.ingsw.server.model.game_logic.PlayableCharacter
- characterIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexArchipelagoMsg
- characterIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorArchipelagoMsg
- characterIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorListsMsg
- characterIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorMsg
- characterIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexMsg
- characterIndexArchipelagoMsg(CharacterIndexArchipelagoMsg, Peer) - Method in class it.polimi.ingsw.server.controller.game_state_controller.ExpertCommunicationController
-
This is the handler of the messages for the characters with ID 3 and 5.
- CharacterIndexArchipelagoMsg - Class in it.polimi.ingsw.server.controller.game_state_controller.messages
- CharacterIndexArchipelagoMsg(int, int, String) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexArchipelagoMsg
- characterIndexColorArchipelagoMsg(CharacterIndexColorArchipelagoMsg, Peer) - Method in class it.polimi.ingsw.server.controller.game_state_controller.ExpertCommunicationController
-
This is the handler of the messages for the characters with ID 1.
- CharacterIndexColorArchipelagoMsg - Class in it.polimi.ingsw.server.controller.game_state_controller.messages
- CharacterIndexColorArchipelagoMsg(int, Color, int, String) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorArchipelagoMsg
- characterIndexColorListsMsg(CharacterIndexColorListsMsg, Peer) - Method in class it.polimi.ingsw.server.controller.game_state_controller.ExpertCommunicationController
-
This is the handler of the messages for the characters with ID 1.
- CharacterIndexColorListsMsg - Class in it.polimi.ingsw.server.controller.game_state_controller.messages
- CharacterIndexColorListsMsg(int, List<Color>, List<Color>, String) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorListsMsg
- characterIndexColorMsg(CharacterIndexColorMsg, Peer) - Method in class it.polimi.ingsw.server.controller.game_state_controller.ExpertCommunicationController
-
This is the handler of the messages for the characters with ID 9, 11 and 12.
- CharacterIndexColorMsg - Class in it.polimi.ingsw.server.controller.game_state_controller.messages
- CharacterIndexColorMsg(int, Color, String) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorMsg
- characterIndexMsg(CharacterIndexMsg, Peer) - Method in class it.polimi.ingsw.server.controller.game_state_controller.ExpertCommunicationController
-
This is the handler of the messages for the characters with ID 2,4,6 and 8.
- CharacterIndexMsg - Class in it.polimi.ingsw.server.controller.game_state_controller.messages
- CharacterIndexMsg(int, String) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexMsg
- characterPlayedInCurrentTurn - Variable in class it.polimi.ingsw.server.model.game_logic.ExpertGameState
- characterPlayedInCurrentTurn - Variable in class it.polimi.ingsw.server.model.game_logic.LightGameState
- CharacterPromptController - Class in it.polimi.ingsw.client.new_gui.views.player_view
- CharacterPromptController(Pane, int) - Constructor for class it.polimi.ingsw.client.new_gui.views.player_view.CharacterPromptController
- CharacterPromptController.StudentEntity - Class in it.polimi.ingsw.client.new_gui.views.player_view
- characterPromptRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- characterPromptRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- characterPromptRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- characterPromptRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- characterPromptRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- characters() - Method in class it.polimi.ingsw.client.game_client_and_cli.GameClient
- characters_info - Enum constant in enum class it.polimi.ingsw.client.enums.CLICommand
- CharactersRenderer - Class in it.polimi.ingsw.client.new_gui.views.player_view
- CharactersRenderer() - Constructor for class it.polimi.ingsw.client.new_gui.views.player_view.CharactersRenderer
- characterToAssetFileNameMap - Static variable in class it.polimi.ingsw.client.new_gui.AssetHolder
- characterToImage - Static variable in class it.polimi.ingsw.client.new_gui.AssetHolder
- chat - Enum constant in enum class it.polimi.ingsw.client.enums.CLICommand
- chatInputBoxRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chatMsg(SugarMessage) - Method in class it.polimi.ingsw.client.game_client_and_cli.GameClient
- chatMsg(SugarMessage, Peer) - Method in class it.polimi.ingsw.server.controller.games_manager.GamesManager
-
Sends a chat message to other players It can send to another player in the same game, otherwise can multicast the message to the team, or to all the game's participants
- ChatMsg - Class in it.polimi.ingsw.server.controller.games_manager.messages
- ChatMsg(String, String, String) - Constructor for class it.polimi.ingsw.server.controller.games_manager.messages.ChatMsg
- ChatMsg(String, String, String, String) - Constructor for class it.polimi.ingsw.server.controller.games_manager.messages.ChatMsg
- chatRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chatRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chatRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chatRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chatRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- ChatRenderer - Class in it.polimi.ingsw.client.new_gui.views.player_view
- ChatRenderer() - Constructor for class it.polimi.ingsw.client.new_gui.views.player_view.ChatRenderer
- check(T, U, V) - Method in interface it.polimi.ingsw.utils.multilist.MultiListPredicate
- checkHeartBeatExpiration() - Method in class it.polimi.ingsw.communication.sugar_framework.SugarServer
-
Identifies expired heartbeats
- checkStudentsToBeMoved() - Method in class it.polimi.ingsw.server.controller.game_state_controller.GameStateController
- checkWinners() - Method in class it.polimi.ingsw.server.model.game_logic.GameState
-
This method checks the winning conditions and returns a map linking every schoolBord ID to a boolean indicating if the schoolBoard is a winner or not
- chooseButtonRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chooseButtonRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chooseButtonRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- chooseButtonRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
-
Enemies view
- chooseButtonRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- ChooseSchoolBoardButtonRenderer - Class in it.polimi.ingsw.client.new_gui.views.enemies_view
- ChooseSchoolBoardButtonRenderer() - Constructor for class it.polimi.ingsw.client.new_gui.views.enemies_view.ChooseSchoolBoardButtonRenderer
- chooseStrategy() - Method in class it.polimi.ingsw.server.model.game_logic.ExpertGameState
-
This method chooses the appropriate strategy according to the number of players
- chooseStrategy() - Method in class it.polimi.ingsw.server.model.game_logic.GameState
-
This method is used to select the correct strategy according to the number of players
- clean() - Method in class it.polimi.ingsw.client.cli_graphics.Terminal
-
This method cleans everything in the terminal except the logs window in the terminal.
- cleanEverything() - Method in class it.polimi.ingsw.client.cli_graphics.Terminal
-
This method cleans the entire terminal.
- cleanLogs() - Method in class it.polimi.ingsw.client.cli_graphics.Terminal
-
This method cleans the logs window in the terminal.
- cleanUp() - Method in class it.polimi.ingsw.client.new_gui.views.player_view.CharacterPromptController
- clearProfessorsToOriginalOwnerMap() - Method in interface it.polimi.ingsw.server.model.game_logic.Playable
- clearProfessorsToOriginalOwnerMap() - Method in class it.polimi.ingsw.server.model.game_logic.PlayableCharacterProfessor
-
This method clears the map after the effect of the character is finished
- CLI - Interface in it.polimi.ingsw.client.game_client_and_cli
- ClickedEntrance - Enum constant in enum class it.polimi.ingsw.client.new_gui.input_handler.InputHandler.State
- ClickedMotherNature - Enum constant in enum class it.polimi.ingsw.client.new_gui.input_handler.InputHandler.State
- CLICommand - Enum Class in it.polimi.ingsw.client.enums
- CLICommand() - Constructor for enum class it.polimi.ingsw.client.enums.CLICommand
- CLICommand(int) - Constructor for enum class it.polimi.ingsw.client.enums.CLICommand
- clients - Variable in class it.polimi.ingsw.communication.tcp_server.TcpServer
- cloud - Static variable in class it.polimi.ingsw.client.new_gui.AssetHolder
- CloudClick - Enum constant in enum class it.polimi.ingsw.client.new_gui.input_handler.InputEventType
- cloudDefaultBrightness - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudHGapRelative - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudIndex - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.GrabStudentsFromCloudMsg
- cloudIndex - Variable in class it.polimi.ingsw.server.model.game_logic.events.FillCloudEvent
- cloudIndex - Variable in class it.polimi.ingsw.server.model.game_logic.events.GrabStudentsFromCloudEvent
- cloudRect - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudRelH - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudRelW - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudRelX - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- cloudRelY - Static variable in class it.polimi.ingsw.client.new_gui.layout.Layout
- clouds - Variable in class it.polimi.ingsw.server.model.game_logic.GameState
- clouds - Variable in class it.polimi.ingsw.server.model.game_logic.LightGameState
- CloudsRenderer - Class in it.polimi.ingsw.client.new_gui.views.player_view
- CloudsRenderer() - Constructor for class it.polimi.ingsw.client.new_gui.views.player_view.CloudsRenderer
- coins - Variable in class it.polimi.ingsw.server.model.game_logic.ExpertSchoolBoard
- coins - Variable in class it.polimi.ingsw.server.model.game_logic.LightSchoolBoard
- color - Variable in class it.polimi.ingsw.client.new_gui.views.player_view.CharacterPromptController.StudentEntity
- color - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorArchipelagoMsg
- color - Variable in class it.polimi.ingsw.server.controller.game_state_controller.messages.CharacterIndexColorMsg
- color(Color) - Method in class it.polimi.ingsw.client.new_gui.input_handler.InputParams
- color(String) - Method in class it.polimi.ingsw.client.cli_graphics.UnicodeString
-
/** This method gets a color in input (represented as a String) and modifies the color of this string accordingly.
- color(String, String) - Method in class it.polimi.ingsw.client.cli_graphics.Terminal
-
This method gets a character in input (in the form of a String) and applies the given color to it.
- color(String, String, String) - Method in class it.polimi.ingsw.client.cli_graphics.Terminal
- Color - Enum Class in it.polimi.ingsw.server.model.game_logic.enums
- Color() - Constructor for enum class it.polimi.ingsw.server.model.game_logic.enums.Color
- COLOR_DOESNT_COUNT - Enum constant in enum class it.polimi.ingsw.server.model.game_logic.enums.Character
- colors - Variable in class it.polimi.ingsw.client.new_gui.input_handler.InputParams
- colorThatDoesntCount - Variable in class it.polimi.ingsw.server.model.game_logic.ExpertArchipelago
- colorThatDoesntCount - Variable in class it.polimi.ingsw.server.model.game_logic.LightArchipelago
- cols - Variable in class it.polimi.ingsw.client.cli_graphics.Terminal
- command - Static variable in class it.polimi.ingsw.client.game_client_and_cli.GameClient
- communicationController - Variable in class it.polimi.ingsw.server.controller.game_controller.GameController
- CommunicationController - Class in it.polimi.ingsw.server.controller.game_state_controller
- CommunicationController(List<Player>, boolean) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.CommunicationController
- CommunicationController(List<Pair<String, Integer>>, UUID) - Constructor for class it.polimi.ingsw.server.controller.game_state_controller.CommunicationController
- compareCurrentPlayersStudentsNumberWithOthersMax(int, int) - Method in class it.polimi.ingsw.server.model.game_logic.ExpertGameState
- compareCurrentPlayersStudentsNumberWithOthersMax(int, int) - Method in class it.polimi.ingsw.server.model.game_logic.GameState
- compareTo(Player) - Method in class it.polimi.ingsw.server.model.game_logic.entities.Player
- conquerArchipelago(int) - Method in class it.polimi.ingsw.server.model.game_logic.GameState
-
The current player conquers the archipelago mother nature is currently in, placing a tower of his own color and substituting any tower that was previously placed on that archipelago
- ConquerArchipelagoEvent - Class in it.polimi.ingsw.server.model.game_logic.events
- ConquerArchipelagoEvent(UUID, int) - Constructor for class it.polimi.ingsw.server.model.game_logic.events.ConquerArchipelagoEvent
- conquerArchipelagoHandler(ConquerArchipelagoEvent) - Method in class it.polimi.ingsw.server.model.game_logic.GameState
- contains(double, double) - Method in class it.polimi.ingsw.client.new_gui.GUI.Rectangle
- containsAllStudents(List<Color>) - Method in interface it.polimi.ingsw.server.model.game_logic.Playable
- containsAllStudents(List<Color>) - Method in class it.polimi.ingsw.server.model.game_logic.PlayableCharacterWithStudents
-
This method returns true if the inputted students are all contained in the character, false otherwise
- containsAllStudentsInTheDiningRoom(List<Color>) - Method in class it.polimi.ingsw.server.model.game_logic.SchoolBoard
-
This method checks if the inputted list of students is a subList of the students in the diningRoom
- containsAllStudentsInTheEntrance(List<Color>) - Method in class it.polimi.ingsw.server.model.game_logic.SchoolBoard
-
This method checks if the inputted list of students is a subList of the students in the entrance
- containsPeer(Peer) - Method in class it.polimi.ingsw.server.controller.game_controller.GameController
-
Return true if there is the player in the game
- containsPlayer(String) - Method in class it.polimi.ingsw.server.controller.game_controller.GameController
-
Return true if there is the player in the game
- CONTROL - Enum constant in enum class it.polimi.ingsw.communication.sugar_framework.messages.SugarMethod
- CONTROL_AND_NOTIFY - Enum constant in enum class it.polimi.ingsw.communication.sugar_framework.messages.SugarMethod
- Coordinates - Class in it.polimi.ingsw.client.new_gui
- Coordinates(double, double) - Constructor for class it.polimi.ingsw.client.new_gui.Coordinates
- correctionFactor - Static variable in class it.polimi.ingsw.client.new_gui.views.player_view.ArchipelagosRenderer
- create(Gson, TypeToken<T>) - Method in class it.polimi.ingsw.communication.sugar_framework.GenericTypeAdapterFactory
- createArchipelago(int) - Method in class it.polimi.ingsw.server.model.game_logic.ExpertGameState
-
This method created an archipelago for the expert mode
- createArchipelago(int) - Method in class it.polimi.ingsw.server.model.game_logic.GameState
-
This method creates an archipelago with the inputted code
- createCharacter(Character) - Static method in class it.polimi.ingsw.server.model.game_logic.PlayableCharacter
-
This method creates the right PlayableCharacter based on the inputted Character and returns it
- createCommunicationController(List<Player>, boolean) - Static method in class it.polimi.ingsw.server.controller.game_state_controller.CommunicationController
- createCommunicationController(List<Pair<String, Integer>>, boolean, UUID) - Static method in class it.polimi.ingsw.server.controller.game_state_controller.CommunicationController
- created - Variable in class it.polimi.ingsw.server.event_sourcing.Aggregate
- created - Variable in class it.polimi.ingsw.server.event_sourcing.Event
- createFakeJWT(String) - Static method in class it.polimi.ingsw.server.controller.auth_controller.AuthController
- createMatchIfPossible(int, boolean) - Method in class it.polimi.ingsw.server.controller.games_manager.GamesManager
-
Creates a match if there are players in the matchmaking list that satisfies the constraints
- createRoom() - Method in class it.polimi.ingsw.communication.sugar_framework.SugarServer
-
Creates a new room
- createRoom(UUID) - Method in class it.polimi.ingsw.communication.sugar_framework.SugarServer
-
Creates a new room with the specified uuid
- createSnapshot() - Method in class it.polimi.ingsw.server.event_sourcing.Aggregate
-
Generates the snapshot and saves the Aggregate updated information to the repository
- createSnapshot() - Method in class it.polimi.ingsw.server.model.game_logic.ExpertGameState
- currentCost - Variable in class it.polimi.ingsw.server.model.game_logic.LightPlayableCharacter
- currentCost - Variable in class it.polimi.ingsw.server.model.game_logic.PlayableCharacter
- currentlyPlaying - Variable in class it.polimi.ingsw.client.game_client_and_cli.GameClient
- currentPhase - Variable in class it.polimi.ingsw.server.model.game_logic.LightGameState
- currentPhase - Variable in class it.polimi.ingsw.server.model.game_logic.Round
- currentPlayerSchoolBoardId - Variable in class it.polimi.ingsw.server.model.game_logic.GameState
- currentPlayerSchoolBoardId - Variable in class it.polimi.ingsw.server.model.game_logic.LightGameState
- currentRound - Variable in class it.polimi.ingsw.server.model.game_logic.Round
- currentView - Static variable in class it.polimi.ingsw.client.new_gui.GUI
- CYAN - Enum constant in enum class it.polimi.ingsw.server.model.game_logic.enums.Color
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form