Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- Card - Class in it.polimi.ingsw.model
-
class that represent the cards, both in the library and in the board.
- Card() - Constructor for class it.polimi.ingsw.model.Card
-
the most simple constructor, used to initialize the empty cards
- Card(Card) - Constructor for class it.polimi.ingsw.model.Card
-
copy constructor for this class, used for deep copying objects
- Card(Color) - Constructor for class it.polimi.ingsw.model.Card
-
standard constructor to initialize card with the right color
- Card(Color, String) - Constructor for class it.polimi.ingsw.model.Card
-
constructor that initialize both the color and the image
- cardDimBoard - Static variable in class it.polimi.ingsw.view.Dimensions
- cardLib_h - Static variable in class it.polimi.ingsw.view.Dimensions
- cardLib_w - Static variable in class it.polimi.ingsw.view.Dimensions
- chairmanDim - Static variable in class it.polimi.ingsw.view.Dimensions
- chairmanName - Variable in class it.polimi.ingsw.view.Player
-
the name of the chairman of the game
- chairmanName - Variable in class it.polimi.ingsw.view.PlayerSend
-
the name of the chairman of the game
- CHANGE_TURN - Enum constant in enum class it.polimi.ingsw.controller.MessageType
- CHAT - Enum constant in enum class it.polimi.ingsw.controller.MessageType
- ChatBroadcast - Class in it.polimi.ingsw.controller
-
class which represents the threads for listening to the eventual chat messages for ALL the NON active players
- ChatBroadcast(Game, int) - Constructor for class it.polimi.ingsw.controller.ChatBroadcast
-
normal constructor for this type of objects
- checkCol(int, int) - Method in class it.polimi.ingsw.model.Library
-
check if the chosen column have enough space for the cards
- checkCol_allFull() - Method in class library.checkColTest
-
in this test all the columns are filled so that we can't insert any other card in the library
matrix PPPPP PBPPP BBBBB PBGPP PPGPP PPGPP - checkCol_emptyColumn_correct() - Method in class library.checkColTest
-
in this test colomn 0 is empty so we can insert cards
matrix PPPP BPPP BBBB BGPP PGPP PGPP - checkCol_tooManyCards() - Method in class library.checkColTest
-
in this test column 0 has 2 free spaces but there are 3 cards to put in the same column
matrix PPPP BPPP GBBBB GBGPP GPGPP GPGPP - checkColTest - Class in library
-
class that test the checkCol method of the library class The checkCol method checks if the selected column has enough space to insert a specific number of cards
- checkColTest() - Constructor for class library.checkColTest
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_1
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_10
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_11
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_12
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_2
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_3
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_4
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_5
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_6
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_7
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_8
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Algo_CO_9
-
check if the matrix match with the objective
- checkMatch(Card[][]) - Method in class it.polimi.ingsw.model.Strategy
-
check if the objective is achieved by the player library
- checkRawCoords(String[]) - Method in class it.polimi.ingsw.view.Player
-
Check if the input by the user is correct
- Client - Class in it.polimi.ingsw.view
-
class which represent the entry point for the client
- Client() - Constructor for class it.polimi.ingsw.view.Client
-
main method which is used by the user to choose the UI and the Network
- clone(PlayerGUI) - Method in class it.polimi.ingsw.view.GUI.PlayerGUI
-
Clone the player on the client in the player on the server
- clone(PlayerTUI) - Method in class it.polimi.ingsw.view.Player
-
Clone the player on the client in the player on the server
- clone(PlayerTUI) - Method in class it.polimi.ingsw.view.TUI.PlayerTUI
-
Clone the player on the client in the player on the server
- closed - Variable in class it.polimi.ingsw.view.Player
- CO_1 - Enum constant in enum class it.polimi.ingsw.controller.MessageType
- CO_1_Done - Variable in class it.polimi.ingsw.view.Player
- CO_1_Done - Variable in class it.polimi.ingsw.view.PlayerSend
- CO_2 - Enum constant in enum class it.polimi.ingsw.controller.MessageType
- CO_2_Done - Variable in class it.polimi.ingsw.view.Player
- CO_2_Done - Variable in class it.polimi.ingsw.view.PlayerSend
- CO_h - Static variable in class it.polimi.ingsw.view.Dimensions
- CO_w - Static variable in class it.polimi.ingsw.view.Dimensions
- color - Variable in class it.polimi.ingsw.model.Card
-
the color of the card, 6 types + EMPTY
- Color - Enum Class in it.polimi.ingsw.model
- COLS - Variable in class it.polimi.ingsw.model.Library
-
the columns of the game library
- COLS - Variable in class it.polimi.ingsw.model.PrivateObjective
-
the columns of the library that will be checked by the objective
- COLS - Variable in class it.polimi.ingsw.model.Strategy
-
the columns of the library that will be checked by the objective
- CommonObjective - Class in it.polimi.ingsw.model
-
class which represent the common objectives which all the players must try to achieve.
- CommonObjective(Strategy, int) - Constructor for class it.polimi.ingsw.model.CommonObjective
-
normal constructor for this type of objects
- commonObjective_1 - Variable in class it.polimi.ingsw.model.Board
-
the first common objective
- commonObjective_2 - Variable in class it.polimi.ingsw.model.Board
-
the second common objective
- connectionLost(Exception) - Method in class it.polimi.ingsw.controller.Game
-
function that handle the eventual disconnection
- connectionLost(Exception) - Method in class it.polimi.ingsw.view.GUI.PlayerGUI
-
function that handle the eventual disconnection
- connectionLost(Exception) - Method in class it.polimi.ingsw.view.TUI.PlayerTUI
-
function that handle the eventual disconnection
- countGroupedPoints() - Method in class it.polimi.ingsw.model.Library
-
count the points gained thanks to adjacent cards
- countGroupedPointsTest - Class in library
- countGroupedPointsTest() - Constructor for class library.countGroupedPointsTest
- countMatch_personalGoal_0match() - Method in class objective.private_objective.countMatchTest
-
0 match with personalobjective
testlibrary:
matrix P B G W Y C
TestPrivateObjective:
matrix B Y B Y B Y B Y B Y B Y - countMatch_personalGoal_2match() - Method in class objective.private_objective.countMatchTest
-
2 match
testlibrary:
matrix P B G W Y C
testpersonalobjective
matrix PYGPP PPWCC PGCPP - countMatch_personalGoal_5match() - Method in class objective.private_objective.countMatchTest
-
5 match
testlibrary: matrix P B G W Y C
testpersonalobjective:
matrix PYBYY BYGGG BYGWW BBGPP BYWCC BYCCP - countMatch_personalGoal_6match() - Method in class objective.private_objective.countMatchTest
-
6 match:
testlibrary:
matrix P B G W Y C
testpersonalobjective:
matrix PYBY BYGGG BYGWG BYGPP BYWCC BYCCP - countMatch_personalGoal_all_empty_1() - Method in class objective.private_objective.countMatchTest
-
Personalgoalempty:
testlibrary:
matrix P B G W Y C
testpersonalgoal:
matrix - countMatch_personalGoal_all_empty_2() - Method in class objective.private_objective.countMatchTest
-
testlibrary:
matrix B G W Y C
testpersonalobject:
matrix - countMatch_personalGoal_all_empty_3() - Method in class objective.private_objective.countMatchTest
-
testlibrary:
matrix P B G W Y
testpersonalobjective:
matrix Y - countMatchTest - Class in objective.private_objective
-
Test the different number of goals and the different private objective
- countMatchTest() - Constructor for class objective.private_objective.countMatchTest
- countPoints(Card[][]) - Method in class it.polimi.ingsw.model.PrivateObjective
-
count the points accumulated by the player
- countPoints_diagonal_correct() - Method in class library.countGroupedPointsTest
-
matrix BBGBG BGBGB GBGBG BGBGP GBGPP BGPPP
- countPoints_empty_correct() - Method in class library.countGroupedPointsTest
-
matrix G
- countPoints_normal_correct() - Method in class library.countGroupedPointsTest
-
matrix PP PB BBBBB PBGPP PPGPP PPGPP
- CYAN - Enum constant in enum class it.polimi.ingsw.model.Color
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form