summaryrefslogtreecommitdiff
path: root/server/wall.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-25 12:54:59 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-25 12:54:59 +0100
commitfae209a9e93400c3a2072befda9c820634cf9278 (patch)
tree2d69e2c75fff0e08468c168f773abbc939a2ff03 /server/wall.h
parent94a1189d757f0269ac081ad2d750152e30564986 (diff)
Restructured repository.HEADmaster
Diffstat (limited to 'server/wall.h')
-rw-r--r--server/wall.h30
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