Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- /*
- * File: Pile.h
- * Author: npods
- *
- * Created on November 28, 2018, 4:33 PM
- */
- #ifndef PILE_H
- #define PILE_H
- #include <vector>
- #include "card.h"
- class Pile
- {
- protected:
- vector<Card> p;
- public:
- Pile();
- Card dealCard();
- int getCount() const;
- void shuffle();
- void clear();
- Pile operator + (const Card& c) const;
- Pile operator + (Pile& b);
- friend ostream& operator << (ostream& out, const Pile& b);
- };
- #endif /* PILE_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement