#ifndef WALL_H #define WALL_H #include "../common/tile.h" #include #include class Wall { private: //! Our random number generator. Initialized with a seed of the current time that the object is constructed. boost::mt19937 rand_gen; //! Contains the remaining tiles in the wall. std::vector wall; public: Wall(); //! Build a new wall. void build(); //! Number of remaining tiles in wall. int remaining(); //! Returns a random tile from the wall. Tile take_one(); }; #endif // WALL_H