rp-scrabble
Simple, terminal-based Scrabble game
include
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
Bag
Definition:
bag.h:15
Bag::show
void show()
Definition:
bag.cc:195
Bag::draw
std::vector< Tile * > draw(int count)
Definition:
bag.cc:232
Bag::bag
std::vector< Tile * > bag
Definition:
bag.h:17
Bag::~Bag
~Bag()
Definition:
bag.cc:183
Bag::isEmpty
bool isEmpty()
Definition:
bag.cc:253
Bag::Bag
Bag()
Definition:
bag.cc:19
Bag::shuffle
void shuffle()
Definition:
bag.cc:208
Tile
Definition:
tile.h:22
Generated by
1.9.1