playhand.h

// Players hand header
// Brandon Goldfedder

#ifndef _PLAYERHAND
#define _PLAYERHAND

#include "stdhand.h"

class PlayerHand: public StandardBlackJackHand {
public:
   PlayerHand(const char* name, Displayer *displayer);
   ~PlayerHand();
   TURN_RESULT TakeTurn();
   bool TookInsurance() const;
   bool OfferInsurance();
   const char* const GetIdentity() const;
private:
   bool tookInsurance;
   char* id;
   };

#endif

Get Joy of Patterns: Using Patterns for Enterprise Development, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.