From fae209a9e93400c3a2072befda9c820634cf9278 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 25 Dec 2010 12:54:59 +0100 Subject: Restructured repository. --- server/wall.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 server/wall.h (limited to 'server/wall.h') 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 -#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 -- cgit v1.2.3