Class DevelopCardDeckSetup
java.lang.Object
it.polimi.ingsw.model.updatecontainers.DevelopCardDeckSetup
- All Implemented Interfaces:
ModelUpdate
public class DevelopCardDeckSetup extends java.lang.Object implements ModelUpdate
A special model update used to communicate to clients or views the initial state of a
develop card deck.
Model updates contain information to notify clients or views of an update happened on the model-
Constructor Summary
Constructors Constructor Description DevelopCardDeckSetup(java.util.List<java.lang.Integer>[][] devDeck) -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.Integer>[][]getDevDeck()returns the card deck as a matrix of ID listsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DevelopCardDeckSetup
public DevelopCardDeckSetup(java.util.List<java.lang.Integer>[][] devDeck)
-
-
Method Details
-
getDevDeck
public java.util.List<java.lang.Integer>[][] getDevDeck()returns the card deck as a matrix of ID lists- Returns:
- the card deck as a matrix of ID lists
-