public class Debug extends Match
Match.States| Constructor and Description |
|---|
Debug(int credits,
java.util.ArrayList<Card> cards,
java.util.ArrayList<java.lang.String> commands)
Constructor of Debug
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
deal()
Version of deal in which the deck is not shuffled
|
java.lang.String |
hold(int[] positions)
Version of hold in which the cards are not returned to the deck
|
public Debug(int credits,
java.util.ArrayList<Card> cards,
java.util.ArrayList<java.lang.String> commands)
credits - The initial amount of credits with which the player is going to start
playingcards - List of cards that are to be loaded into deckcommands - List of commands that are to executepublic java.lang.String deal()
deal in class MatchMatch.deal()public java.lang.String hold(int[] positions)
hold in class Matchpositions - Positions of the cards that are to maintainMatch.hold(int[])