29 lines
614 B
C++
29 lines
614 B
C++
//
|
|
// heart.h -- CPE 212-01, Fall 2010 -- Project02 -- Classes
|
|
//
|
|
// DO NOT MODIFY OR SUBMIT THIS FILE!!!
|
|
//
|
|
|
|
#ifndef HEART_H
|
|
#define HEART_H
|
|
|
|
#include "redcard.h"
|
|
|
|
class Heart : public RedCard
|
|
{
|
|
private:
|
|
// No additional private members
|
|
|
|
public:
|
|
// Constructors
|
|
Heart(int v); // Creates a red heart card with value v
|
|
|
|
string Description() const; // Outputs card characteristics - value, color, suit
|
|
// Hint: use base class Description method to generate part of
|
|
// the description and append the suit information at the end
|
|
};
|
|
|
|
#endif
|
|
|
|
|