|
@ -1,6 +1,9 @@ |
|
|
package de.hsfulda.onses.models; |
|
|
package de.hsfulda.onses.models; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
public class Game { |
|
|
public class Game { |
|
|
|
|
|
private final ArrayList<Card> drawCardDeck = new ArrayList<>(); |
|
|
|
|
|
|
|
|
private Card lastPlayedCard = null; |
|
|
private Card lastPlayedCard = null; |
|
|
|
|
|
|
|
@ -12,4 +15,8 @@ public class Game { |
|
|
this.lastPlayedCard = lastPlayedCard; |
|
|
this.lastPlayedCard = lastPlayedCard; |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ArrayList<Card> getDrawCardDeck() { |
|
|
|
|
|
return drawCardDeck; |
|
|
|
|
|
} |
|
|
} |
|
|
} |