//Check if the player is active (cards in their hand)
if ( player.isActive() ) {
//The player is active, create a HoleCards class for them and
//assign their cards using the data from the input
cards = new HoleCards( new Card( player.getCard(0).getRank(),
player.getCard(0).getSuit() ),
new Card( player.getCard(1).getRank(),
player.getCard(1).getSuit() ) );
//Check if the player has folded
if ( player.getFolded() )
//This defaults to false, so only set if they have folded