Package javatro.core.jokers
Class HeldJokers
java.lang.Object
javatro.core.jokers.HeldJokers
Holds all the Jokers the player has in an ArrayList of type Joker.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HOLDING_LIMIT
public static final int HOLDING_LIMIT- See Also:
-
heldJokers
-
-
Constructor Details
-
HeldJokers
public HeldJokers()Constructor for the HeldJokers Class.
-
-
Method Details
-
add
Adds 1 Joker to the HeldJokers Class.- Throws:
JavatroException
-
remove
Removes the Joker from the specified index.- Throws:
JavatroException
-
getJokers
Returns a soft copy of the ArrayList of HeldJokers.
-