diff options
Diffstat (limited to 'server/wall.h')
-rw-r--r-- | server/wall.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/server/wall.h b/server/wall.h deleted file mode 100644 index aeef031..0000000 --- a/server/wall.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef WALL_H -#define WALL_H - -#include "../common/tile.h" - -#include <boost/random/mersenne_twister.hpp> -#include <vector> - -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<Tile> 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 |