Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Card.h"
- Card::Card()
- {
- // face = 0;
- // suit = 0;
- face = 'A';
- suit = '\3';
- }
- Card::~Card()
- {
- }
- void Card::setFace(char face)
- {
- this->face = face;
- }
- void Card::setSuit(char suit)
- {
- this->suit = suit;
- }
- char Card::getFace()
- {
- return face;
- }
- char Card::getSuit()
- {
- return suit;
- }
Advertisement
Add Comment
Please, Sign In to add comment