Class DevelopCardDeckUpdate
java.lang.Object
it.polimi.ingsw.model.updatecontainers.DevelopCardDeckUpdate
- All Implemented Interfaces:
ModelUpdate
public class DevelopCardDeckUpdate extends java.lang.Object implements ModelUpdate
A model update represents an update happened in 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 DevelopCardDeckUpdate(int row, int column) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DevelopCardDeckUpdate
public DevelopCardDeckUpdate(int row, int column)
-
-
Method Details
-
getRow
public int getRow()returns the row where a card has been removed- Returns:
- the row where a card has been removed
-
getColumn
public int getColumn()returns the column where a card has been removed- Returns:
- the column where a card has been removed
-