Class PrivateDraftState
java.lang.Object
com.hiddenswitch.spellsource.draft.PrivateDraftState
- All Implemented Interfaces:
Serializable
Private information about the player's draft. This includes the actual list of cards the player will see, so it
should not be shared with the client.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCards()
TheDraftLogic.ROUNDS
worth ofDraftLogic.CARDS_PER_ROUND
card choices this player will have.Returns the random instance used for this draft.void
setRandom
(XORShiftRandom random)
-
Constructor Details
-
PrivateDraftState
public PrivateDraftState()
-
-
Method Details
-
getCards
TheDraftLogic.ROUNDS
worth ofDraftLogic.CARDS_PER_ROUND
card choices this player will have.- Returns:
- A list of cards
-
setCards
-
getRandom
Returns the random instance used for this draft.- Returns:
-
setRandom
-