Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- caller - Variable in class it.polimi.ingsw.Model.CharacterCardInput
- canJoin(IslandGroup...) - Method in class it.polimi.ingsw.Model.IslandGroup
-
returns true if the inputted
IslandGroup
all contain the same type of tower - canMapFit(Map<T, C>, Map<T, C>) - Static method in class it.polimi.ingsw.Misc.Utils
-
Given two maps, evaluate whether the second map contains values that can fit the first map
- canPlayUniqueCard(PlayerBoard) - Method in class it.polimi.ingsw.Model.TurnOrder
-
Check to see if the player can still play a card that is unique this turn
- card - Variable in class it.polimi.ingsw.Model.Card03Test
- card - Variable in class it.polimi.ingsw.Model.Card12Test
- card01 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card01 - Class in it.polimi.ingsw.Model
-
Character Card#1 In setup, draw 4 Students and place them on this card.
- Card01(Model) - Constructor for class it.polimi.ingsw.Model.Card01
- Card01Test - Class in it.polimi.ingsw.Model
-
This test set verifies that character card 01 is able to hold, move and identify students.
- Card01Test() - Constructor for class it.polimi.ingsw.Model.Card01Test
- card02 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card02 - Class in it.polimi.ingsw.Model
-
EFFECT: During this turn, you take control of any number of Professors even if you have the same number of Students as the player who currently controls them.
- Card02(Model) - Constructor for class it.polimi.ingsw.Model.Card02
- Card02And04Test - Class in it.polimi.ingsw.Model
- Card02And04Test() - Constructor for class it.polimi.ingsw.Model.Card02And04Test
- card03 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card03 - Class in it.polimi.ingsw.Model
-
EFFECT: Choose an Island and resolve the Island as if Mother Nature had ended her movement there.
- Card03(Model) - Constructor for class it.polimi.ingsw.Model.Card03
- Card03Test - Class in it.polimi.ingsw.Model
-
This test set verifies that the card 03 is able to change the control of an island leaving mother nature still
- Card03Test() - Constructor for class it.polimi.ingsw.Model.Card03Test
- card04 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card04 - Class in it.polimi.ingsw.Model
-
EFFECT: You may move Mother Nature up to 2 additional Islands than is indicated by the Assistant card you've played.
- Card04(Model) - Constructor for class it.polimi.ingsw.Model.Card04
- card05 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- card05 - Variable in class it.polimi.ingsw.Model.Card05Test
- Card05 - Class in it.polimi.ingsw.Model
-
In Setup, put the 4 No Entry tiles on this card.
- Card05(Model) - Constructor for class it.polimi.ingsw.Model.Card05
- Card05Test - Class in it.polimi.ingsw.Model
-
This test set verifies that character card 05 is able to manage, receive and give no entry tiles.
- Card05Test() - Constructor for class it.polimi.ingsw.Model.Card05Test
- card06 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- card06 - Variable in class it.polimi.ingsw.Model.Card06And08Test
- Card06 - Class in it.polimi.ingsw.Model
-
EFFECT: When resolving a Conquering on an Island, Towers do not count towards influence.
- Card06(Model) - Constructor for class it.polimi.ingsw.Model.Card06
- Card06And08Test - Class in it.polimi.ingsw.Model
- Card06And08Test() - Constructor for class it.polimi.ingsw.Model.Card06And08Test
- card07 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card07 - Class in it.polimi.ingsw.Model
-
In Setup, draw 6 Students and place them on this card
EFFECT: you may take up to 3 students from this card and replace them with the same number of Students from your Entrance - Card07(Model) - Constructor for class it.polimi.ingsw.Model.Card07
- Card07Test - Class in it.polimi.ingsw.Model
-
This test set verifies that character card 07 is able to manage, receive and give students.
- Card07Test() - Constructor for class it.polimi.ingsw.Model.Card07Test
- card08 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- card08 - Variable in class it.polimi.ingsw.Model.Card06And08Test
- Card08 - Class in it.polimi.ingsw.Model
-
EFFECT: During the influence calculation this turn, you count as having 2 more influence
- Card08(Model) - Constructor for class it.polimi.ingsw.Model.Card08
- card09 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- card09 - Variable in class it.polimi.ingsw.Model.Card09Test
- Card09 - Class in it.polimi.ingsw.Model
-
EFFECT: Choose a color of Student: during the influence calculation this turn, that color adds no influence
- Card09(Model) - Constructor for class it.polimi.ingsw.Model.Card09
- Card09Test - Class in it.polimi.ingsw.Model
-
This test set verifies that character card 09 is able to change the way influence is calculated selecting a colour that will not be counted for the influence calculation
- Card09Test() - Constructor for class it.polimi.ingsw.Model.Card09Test
- card10 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- card10 - Variable in class it.polimi.ingsw.Model.Card10Test
- Card10 - Class in it.polimi.ingsw.Model
-
EFFECT: You may exchange up to 2 Students between your entrance and your Dining Room
- Card10(Model) - Constructor for class it.polimi.ingsw.Model.Card10
- Card10Test - Class in it.polimi.ingsw.Model
-
This test set verifies that character card 10 is able to swap up to 2 students from entrance to dining room and vice-versa; the set also covers the edge cases related to invalid actions from the players.
- Card10Test() - Constructor for class it.polimi.ingsw.Model.Card10Test
- card11 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card11 - Class in it.polimi.ingsw.Model
-
In Setup, draw 4 Students and place them on this card
EFFECT: Take 1 Student from this card and place it in your Dining Room. - Card11(Model) - Constructor for class it.polimi.ingsw.Model.Card11
- Card11Test - Class in it.polimi.ingsw.Model
- Card11Test() - Constructor for class it.polimi.ingsw.Model.Card11Test
- card12 - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- Card12 - Class in it.polimi.ingsw.Model
-
EFFECT: Choose a type of Student: every player (including yourself) must return 3 Students of that type from their Dining Room to the bag.
- Card12(Model) - Constructor for class it.polimi.ingsw.Model.Card12
- Card12Test - Class in it.polimi.ingsw.Model
- Card12Test() - Constructor for class it.polimi.ingsw.Model.Card12Test
- cardShouldAlwaysHave4Students() - Method in class it.polimi.ingsw.Model.Card01Test
-
Character card 01 should always hold 4 students, it should do so by refilling itself from the student bag when it gets used (and loses 1 student)
- cardShouldBeAssociatedToPlayer() - Method in class it.polimi.ingsw.Controller.PlayAssistantCardTest
- changeView(JComponent) - Method in class it.polimi.ingsw.Client.GUI.Window
-
Remove all previous frame's contents and add a new JComponent
- CharacterCard - Class in it.polimi.ingsw.Model
- CharacterCard(int, int, Model) - Constructor for class it.polimi.ingsw.Model.CharacterCard
- CHARACTERCARD - Enum constant in enum class it.polimi.ingsw.Client.GUI.ActionType
- CharacterCardIndexOutOfBound() - Method in class it.polimi.ingsw.Controller.PlayCharacterCardTest
- characterCardInfo() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
This method prints selected characterCard to the command line to explain card's effect to the player
- CharacterCardInput - Class in it.polimi.ingsw.Model
-
Each
CharacterCard
can use many input parameters. - CharacterCardInput(PlayerBoard) - Constructor for class it.polimi.ingsw.Model.CharacterCardInput
-
Constructor for the base input of the card.
- characterCards - Variable in class it.polimi.ingsw.Model.Model
- CharacterCardsPanel - Class in it.polimi.ingsw.Client.GUI.Panels
-
Class used to draw the 3 characterCards and their eventual contents; it also handles all 12 characterCards actions.
- CharacterCardsPanel(Model, SocketWrapper, GUISocketListener) - Constructor for class it.polimi.ingsw.Client.GUI.Panels.CharacterCardsPanel
- CharacterDeckGenerator - Class in it.polimi.ingsw.Model
-
Any
GameMode.ADVANCED
game must start with a selection of 3 differentCharacterCard
s and this class is the generator of such cards. - CharacterDeckGenerator() - Constructor for class it.polimi.ingsw.Model.CharacterDeckGenerator
- CharacterDeckGenerator.CharacterCardGenerator - Interface in it.polimi.ingsw.Model
-
in order to construct each card, the constructor must fall under an interface to be used in a lambda call.
- checkActionRequest() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Support method responsible for checking whether the user has the rights to perform the requested action.
- checkBoxes - Variable in class it.polimi.ingsw.Client.GUI.Listeners.CheckBoxListener
-
"listened" checkboxes
- CheckBoxListener - Class in it.polimi.ingsw.Client.GUI.Listeners
-
Listener responsible for restricting the maximum number of checkboxes that can be selected
- CheckBoxListener(int, JCheckBox[]) - Constructor for class it.polimi.ingsw.Client.GUI.Listeners.CheckBoxListener
-
Create a new checkBoxListener
- checkCloudHasBeenFilled() - Method in class it.polimi.ingsw.Model.CloudTest
- checkEffectCard02IsWorking() - Method in class it.polimi.ingsw.Model.Card02And04Test
-
Character card 02 should leave the teachers control untouched except for the teachers of whom multiple players hold same influence
- checkEffectCard04IsWorking() - Method in class it.polimi.ingsw.Model.Card02And04Test
- checkEmptyCard() - Method in class it.polimi.ingsw.Model.Card05Test
-
If the card has already given out all of its tiles, it should error out when prompted for handling out more
- checkEmptyInput() - Method in class it.polimi.ingsw.Model.Card10Test
-
An invalid player action should error out.
- checkEmptyInput() - Method in class it.polimi.ingsw.Model.Card12Test
- checkExceptionInput() - Method in class it.polimi.ingsw.Model.Card11Test
- checkExceptionUse() - Method in class it.polimi.ingsw.Model.Card07Test
-
An invalid player action should error out.
- checkFullDiningRoom() - Method in class it.polimi.ingsw.Model.Card11Test
- checkIllegalColourPush() - Method in class it.polimi.ingsw.Model.TowerStorageTest
- checkIllegalDuplicatePush() - Method in class it.polimi.ingsw.Model.TowerStorageTest
- checkInconsistentTurnOrderWithNull() - Method in class it.polimi.ingsw.Model.TurnOrderTest
- checkInconsistentTurnOrderWithWrongLength() - Method in class it.polimi.ingsw.Model.TurnOrderTest
- checkInput(CharacterCardInput) - Method in class it.polimi.ingsw.Model.CharacterCard
-
This function checks whether the correct input has been provided.
- checkInputException() - Method in class it.polimi.ingsw.Model.Card05Test
-
An invalid player action should error out.
- checkInvalidDiningRoomSize() - Method in class it.polimi.ingsw.Model.Card10Test
-
If the selected student from the entrance has the same colour of a full dining room's row you cannot swap this student
- checkInvalidEntranceSize() - Method in class it.polimi.ingsw.Model.Card10Test
-
An invalid player action should error out.
- checkInvalidInput() - Method in class it.polimi.ingsw.Model.Card03Test
-
An invalid player action should error out.
- checkInvalidInput() - Method in class it.polimi.ingsw.Model.Card09Test
-
An invalid player action should error out.
- checkInvalidIslandInput() - Method in class it.polimi.ingsw.Model.Card01Test
- checkInvalidIslandInput() - Method in class it.polimi.ingsw.Model.Card03Test
-
An invalid player action should error out.
- checkInvalidIslandInput() - Method in class it.polimi.ingsw.Model.Card05Test
-
An invalid player action should error out.
- checkIslandNotInField() - Method in class it.polimi.ingsw.Model.Card01Test
- checkIslandNotInField() - Method in class it.polimi.ingsw.Model.Card03Test
-
An invalid player action should error out.
- checkIslandNotInField() - Method in class it.polimi.ingsw.Model.Card05Test
-
An invalid player action should error out.
- checkStatefulCard(CharacterCard, JLabel) - Method in class it.polimi.ingsw.Client.GUI.Panels.CharacterCardsPanel
-
Support method, responsible for checking whether the characterCard contains some elements (statefulEffect)
- checkThatTowerHasBeenAdded() - Method in class it.polimi.ingsw.Model.TowerStorageTest
- checkThatTowerHasBeenRemoved() - Method in class it.polimi.ingsw.Model.TowerStorageTest
- checkTowerIsBackOnBoard() - Method in class it.polimi.ingsw.Model.TowerTest
- checkUse() - Method in class it.polimi.ingsw.Controller.PlayCharacterCardTest
- checkUse() - Method in class it.polimi.ingsw.Model.Card03Test
-
Card 03 should be able to change influence on an island according to rules without moving mother nature on it
- checkUse() - Method in class it.polimi.ingsw.Model.Card05Test
-
Card 05 should ba able to hold 4 entry tile and when activated to put one tile on the chosen island.
- checkUse() - Method in class it.polimi.ingsw.Model.Card07Test
-
Card 07 should be able to hold 6 students and when activated to put one tile on the chosen island.
- checkUse() - Method in class it.polimi.ingsw.Model.Card09Test
-
Card 09 should be able to set a flag to deny a specific colour from influence calculation
- checkUse() - Method in class it.polimi.ingsw.Model.Card10Test
-
Card 10 should be able to move students from entrance to dining room and vice-versa
- checkUse() - Method in class it.polimi.ingsw.Model.Card11Test
- checkUse() - Method in class it.polimi.ingsw.Model.Card12Test
- checkUse06() - Method in class it.polimi.ingsw.Model.Card06And08Test
-
Card 06 should be able to set a flag in the model context
- checkUse08() - Method in class it.polimi.ingsw.Model.Card06And08Test
-
Card 08 should be able to give 2 more influence points when activated
- checkUse4Pawns() - Method in class it.polimi.ingsw.Model.Card07Test
-
An invalid player action should error out.
- chooseCloud() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Executes the chooseCloud command, this method asks the user to type a number corresponding to Island's id.
- ChooseCloudTile - Class in it.polimi.ingsw.Controller.Actions
-
PlayerAction
allowing a user to choose one of many cloud tiles present on the gameboard. - ChooseCloudTile(int, int) - Constructor for class it.polimi.ingsw.Controller.Actions.ChooseCloudTile
-
Create a new instance of this class with the following inputs:
- ChooseCloudTileTest - Class in it.polimi.ingsw.Controller
- ChooseCloudTileTest() - Constructor for class it.polimi.ingsw.Controller.ChooseCloudTileTest
- CircleLayout - Class in it.polimi.ingsw.Client.GUI
- CircleLayout() - Constructor for class it.polimi.ingsw.Client.GUI.CircleLayout
- cleanSelectedCards() - Method in class it.polimi.ingsw.Model.TurnOrder
-
Removes the selected cards from memory
- ClearCLI() - Method in class it.polimi.ingsw.Client.CLI.ClientReader
-
This method clears Client's console
- CLI - Class in it.polimi.ingsw.Client.CLI
-
This class runs game's cli version and to do that it initializes client's view and runs 2 different threads: One for writing elements on CLI and send message to Server (CliWriter class) One for receiving responses from Server and update Client's view (ClientReader class)
- CLI() - Constructor for class it.polimi.ingsw.Client.CLI.CLI
- ClientConnected - Class in it.polimi.ingsw.Server.Messages.ServerResponses
-
This Response is generated when a lobby's client connects and is sent to the lobby's clients.
- ClientConnected(String, List<String>) - Constructor for class it.polimi.ingsw.Server.Messages.ServerResponses.ClientConnected
-
Create the response
- ClientConnectEvent - Class in it.polimi.ingsw.Server.Messages.Events.Internal
-
This Event is generated when a lobby's client connects and is sent to the lobby's clients.
- ClientConnectEvent(String, List<String>) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Internal.ClientConnectEvent
-
Create the event
- ClientDisconnected - Class in it.polimi.ingsw.Server.Messages.ServerResponses
-
This Response is generated when a lobby's client disconnected and is sent to the lobby's clients.
- ClientDisconnected(String, List<String>) - Constructor for class it.polimi.ingsw.Server.Messages.ServerResponses.ClientDisconnected
-
Create the response
- ClientDisconnectEvent - Class in it.polimi.ingsw.Server.Messages.Events.Internal
-
This Event is generated when a lobby's client disconnects and is sent to the lobby's clients.
- ClientDisconnectEvent(String, List<String>) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Internal.ClientDisconnectEvent
-
Create the event
- ClientEvent - Interface in it.polimi.ingsw.Server.Messages.Events
-
Represents an event to be processed by the
LobbyServer
. - ClientReader - Class in it.polimi.ingsw.Client.CLI
- ClientReader(SocketWrapper, ClientView, CyclicBarrier) - Constructor for class it.polimi.ingsw.Client.CLI.ClientReader
- ClientRequest - Class in it.polimi.ingsw.Server.Messages.Events.Requests
-
An extension of
Message
that can be used asClientEvent
- ClientRequest() - Constructor for class it.polimi.ingsw.Server.Messages.Events.Requests.ClientRequest
- clientView - Variable in class it.polimi.ingsw.Client.CLI.ClientReader
-
The object used to store the client's game data
- clientView - Variable in class it.polimi.ingsw.Client.CLI.CliWriter
-
used to store the client's game data
- ClientView - Class in it.polimi.ingsw.Client.CLI
-
This class contains the status of Client inside the Server and is responsible for printing UI elements in to the CLI
- ClientView() - Constructor for class it.polimi.ingsw.Client.CLI.ClientView
- CliWriter - Class in it.polimi.ingsw.Client.CLI
-
This class takes Client's commands from terminal, provides support to the user and sends the command to the Server by using the SocketWrapper
- CliWriter(SocketWrapper, ClientView, BufferedReader, CyclicBarrier) - Constructor for class it.polimi.ingsw.Client.CLI.CliWriter
- close() - Method in class it.polimi.ingsw.Network.SocketWrapper
-
Attempts to close the socket, if the socket is already closed then it does nothing
- close() - Method in class it.polimi.ingsw.Server.Lobby
-
Closes the lobby and notifies players through
LobbyClosedEvent
- Cloud - Class in it.polimi.ingsw.Model
-
The Cloud class is used to replenish pawns in the entrance fields of the
PlayerBoard.getEntranceStudents()
- Cloud(int) - Constructor for class it.polimi.ingsw.Model.Cloud
-
Construct a Cloud, assigning an ID to it.
- CloudComponent - Class in it.polimi.ingsw.Client.GUI.Components
- CloudComponent(ImageIcon, Cloud) - Constructor for class it.polimi.ingsw.Client.GUI.Components.CloudComponent
-
Create a new JButton with cloud as icon and draw students inside it
- cloudIcon - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- CloudIndexOutOfBound() - Method in class it.polimi.ingsw.Controller.ChooseCloudTileTest
- CloudPanel - Class in it.polimi.ingsw.Client.GUI.Panels
-
Class used for printing all game's clouds and their students.
- CloudPanel(List<Cloud>, PlayerBoard, GUISocketListener, SocketWrapper) - Constructor for class it.polimi.ingsw.Client.GUI.Panels.CloudPanel
-
Create a new JPanel and draw all clouds (and their students)
- clouds - Variable in class it.polimi.ingsw.Model.Model
- cloudShouldBeEmptied() - Method in class it.polimi.ingsw.Model.CloudTest
- CloudTest - Class in it.polimi.ingsw.Model
- CloudTest() - Constructor for class it.polimi.ingsw.Model.CloudTest
- CloudUI - Class in it.polimi.ingsw.Client.CLI
-
CloudUI is a graphical representation (as a String data structure) useful to print multiple cloud components on the console.
- CloudUI() - Constructor for class it.polimi.ingsw.Client.CLI.CloudUI
- code - Variable in class it.polimi.ingsw.Server.Messages.Events.Requests.ConnectLobbyRequest
- coin - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- COIN - Static variable in class it.polimi.ingsw.Misc.Symbols
- coinBalance - Variable in class it.polimi.ingsw.Model.PlayerBoard
- coinReserve - Variable in class it.polimi.ingsw.Model.Model
- colorizeBackgroundStudent(PawnColour, String) - Static method in class it.polimi.ingsw.Misc.Symbols
-
Method used to create a visual representation of the students using a colour as the background of a String.
- colorizeStudent(PawnColour, String) - Static method in class it.polimi.ingsw.Misc.Symbols
-
Method used to create a visual representation of the students using a colour and the icon.
- colour - Variable in class it.polimi.ingsw.Model.Tower
- colour - Variable in class it.polimi.ingsw.Model.TowerStorage
- colour(String, String) - Static method in class it.polimi.ingsw.Misc.Symbols
-
Method used to change the style of a string.
- colourCodes - Variable in class it.polimi.ingsw.Misc.SymbolsTest
- commitTurnOrder() - Method in class it.polimi.ingsw.Model.TurnOrder
-
Based on the
TurnOrder.getSelectedCards()
set the new turn order for the next round. - connectedNicknames - Static variable in class it.polimi.ingsw.Server.LobbyServer
- ConnectEvent - Class in it.polimi.ingsw.Server.Messages.Events.Internal
-
This Event is generated when a lobby's client connects or disconnects and is sent to the lobby's clients.
- ConnectEvent(String, List<String>) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Internal.ConnectEvent
-
Create the event
- ConnectLobbyRequest - Class in it.polimi.ingsw.Server.Messages.Events.Requests
-
Represents a Client triying to connect to a
Lobby
- ConnectLobbyRequest(UUID) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Requests.ConnectLobbyRequest
-
Create the request to connect to a lobby.
- ContainerException - Exception Class in it.polimi.ingsw.Exceptions.Container
-
Signals there was an error in the container part or function of an object
- ContainerException(String, String) - Constructor for exception class it.polimi.ingsw.Exceptions.Container.ContainerException
-
Creates an exception with the name of the affected container and a report
- contains(Island) - Method in class it.polimi.ingsw.Model.IslandGroup
-
Checks to see if an island is contained in the group
- contents - Variable in class it.polimi.ingsw.Model.Cloud
- context - Variable in class it.polimi.ingsw.Model.CharacterCard
- Context - Class in it.polimi.ingsw.Client.GUI
-
Context holds the information needed to relate the player, the server connection and the player's personal graphical representation.
- Context() - Constructor for class it.polimi.ingsw.Client.GUI.Context
- controller - Variable in class it.polimi.ingsw.Controller.ChooseCloudTileTest
- controller - Variable in class it.polimi.ingsw.Controller.EndTurnOfActionPhaseTest
- controller - Variable in class it.polimi.ingsw.Controller.MoveMotherNatureTest
- controller - Variable in class it.polimi.ingsw.Controller.MoveStudentTest
- controller - Variable in class it.polimi.ingsw.Controller.PlayAssistantCardTest
- controller - Variable in class it.polimi.ingsw.Server.Lobby
- Controller - Class in it.polimi.ingsw.Controller
-
This is the Controller of the whole game.
- Controller(ModelWrapper) - Constructor for class it.polimi.ingsw.Controller.Controller
-
Subscribes a new
Controller
object to aModelWrapper
instance, allowing the creation of a Controller to Model connection. - Controller(ModelWrapper, List<PlayerAction>) - Constructor for class it.polimi.ingsw.Controller.Controller
-
Generates a new instance of the
Controller
. - ControllerTest - Class in it.polimi.ingsw.Controller
- ControllerTest() - Constructor for class it.polimi.ingsw.Controller.ControllerTest
- copy() - Method in class it.polimi.ingsw.Model.Model
-
Serializes the game model to a new object.
- cost - Variable in class it.polimi.ingsw.Model.CharacterCard
- countSimilarClassOccurrences(Class<E>, List<T>) - Static method in class it.polimi.ingsw.Misc.Utils
-
Given a list, find occurrences of elements of the same class within it.
- createGame(GameMode, OptionalValue<Lobby>, String...) - Static method in class it.polimi.ingsw.Controller.Controller
-
Generates a new instance.
- createLobby() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Executes the createLobby command; during the creation the user is able to choose lobby's visibility (private or public) and lobby's dimension (this dimension will also be game's number of players).
- CreateLobbyRequest - Class in it.polimi.ingsw.Server.Messages.Events.Requests
-
Represents a Client triying to create a new
Lobby
- CreateLobbyRequest(boolean, int) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Requests.CreateLobbyRequest
-
Construct the request
- createPlayerActionByPawnColour(int, PlayerBoard) - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Support method that create the PlayerActionRequest after that user type a PawnColour.
- creteGame() - Method in class it.polimi.ingsw.Controller.ControllerTest
- creteGameWithPlayersAmountNotValid() - Method in class it.polimi.ingsw.Controller.ControllerTest
- ctx - Variable in class it.polimi.ingsw.Client.GUI.Listeners.GUISocketListener
-
Context received from GameInProgressPanel
- currentTurnOrder - Variable in class it.polimi.ingsw.Model.TurnOrder
- currentTurnPosition - Variable in class it.polimi.ingsw.Model.TurnOrder
- customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.ChooseCloudTile
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.EndTurnOfActionPhase
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.MoveMotherNature
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.MoveStudent
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.PlayAssistantCard
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.PlayCharacterCard
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - customValidation(List<PlayerAction>, Model) - Method in class it.polimi.ingsw.Controller.Actions.PlayerAction
-
This function is used by
PlayerAction.validate(List, Model)
to check whether or not the declaredPlayerAction
is possible.
This function will check for the following requirements: - cyclicBarrier - Variable in class it.polimi.ingsw.Client.CLI.ClientReader
-
The reference to the CLIWriter class (used only in CLI mode)
- cyclicBarrier - Variable in class it.polimi.ingsw.Client.CLI.CliWriter
-
used to synchronize CliWriter and CliReader, useful when the first one needs to wait the second one
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form