Class ColumnCard
java.lang.Object
ca.uqam.info.model.ColumnCard
This class is needed to create the row of each column of de PlayerCard
- Version:
- 1.3
- Author:
- Mohamed Latif Diallo, Hamza Afif, Ussel Sabbat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHelper method to push a card to the deckgetRowCards(int row) Getter to get un card from a rowvoidreplaceCardRow(ca.uqam.info.mgl7010.max.skyjo.model.Card card, int row) Helper method to push a card to the deck
-
Constructor Details
-
ColumnCard
public ColumnCard()Constructor for the column card.
-
-
Method Details
-
getRowCards
-
addCard
Helper method to push a card to the deck- Parameters:
card- as card from
-
replaceCardRow
public void replaceCardRow(ca.uqam.info.mgl7010.max.skyjo.model.Card card, int row) Helper method to push a card to the deck- Parameters:
card- as card fromrow- as the row where he is loocate
-