rp-scrabble
Simple, terminal-based Scrabble game
bag.h
Go to the documentation of this file.
1 
4 #ifndef BAG_H
5 #define BAG_H
6 #include <vector>
7 
8 class Tile;
9 
15 class Bag {
16 private:
17  std::vector<Tile*> bag;
18 
19 public:
20  Bag();
21  ~Bag();
22 
23  void show();
24  bool isEmpty();
25  void shuffle();
26  std::vector<Tile*> draw(int count);
27 
28 };
29 
30 #endif
Definition: bag.h:15
void show()
Definition: bag.cc:195
std::vector< Tile * > draw(int count)
Definition: bag.cc:232
std::vector< Tile * > bag
Definition: bag.h:17
~Bag()
Definition: bag.cc:183
bool isEmpty()
Definition: bag.cc:253
Bag()
Definition: bag.cc:19
void shuffle()
Definition: bag.cc:208
Definition: tile.h:22