Package it.polimi.ingsw.model
Class Algo_CO_9
java.lang.Object
it.polimi.ingsw.model.Strategy
it.polimi.ingsw.model.Algo_CO_9
- All Implemented Interfaces:
Serializable
class which represent the number nine objective (common). Immutable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkMatch
(Card[][] board) check if the matrix match with the objective
-
Constructor Details
-
Algo_CO_9
public Algo_CO_9()
-
-
Method Details
-
checkMatch
check if the matrix match with the objective- Overrides:
checkMatch
in classStrategy
- Parameters:
board
- the matrix of the board- Returns:
- true iff it found a match
-