public class HandResponse
extends java.lang.Object
Constructor and Description |
---|
HandResponse()
Empty constructor required by KryoNet.
|
HandResponse(ProgrammingCardDeck newHand,
ProgrammingCardDeck extraCards)
Instantiates a new programming card deck response
|
Modifier and Type | Method and Description |
---|---|
ProgrammingCardDeck |
getExtraCards()
Gets the extra cards contained within the response
|
ProgrammingCardDeck |
getNewHand()
Gets the hand contained within the response
|
public HandResponse()
public HandResponse(ProgrammingCardDeck newHand, ProgrammingCardDeck extraCards)
newHand
- The new hand of the clientextraCards
- Extra cards necessary if the robot has no program to lockpublic ProgrammingCardDeck getNewHand()
public ProgrammingCardDeck getExtraCards()