summaryrefslogtreecommitdiff
path: root/common/state.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-11-27 04:20:32 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-11-27 05:55:00 +0100
commit8bfe5dc896639328329197c32e2276309aa1b83d (patch)
treeeafbdacf4ebea0e9f9f27f6020bab20b29a20089 /common/state.h
parentd0c5819fb141f5cb174f47616d7c5ea4116e871c (diff)
Removed obsolete files.
Diffstat (limited to 'common/state.h')
-rw-r--r--common/state.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/common/state.h b/common/state.h
deleted file mode 100644
index 96f171f..0000000
--- a/common/state.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef STATE_H
-#define STATE_H
-
-#include <boost/shared_ptr.hpp>
-
-#include "tile.h"
-#include "action.h"
-
-class State {
- public:
- typedef boost::shared_ptr<State> p;
-
- struct Player {
- //! Concealed tiles in hand.
- Tiles hand;
- //! Open tiles in hand.
- Tiles open;
- //! Discarded tiles.
- Tiles pond;
-
- template<class Archive>
- void serialize(Archive & ar, const unsigned int version) {
- ar & hand;
- ar & open;
- ar & pond;
- }
- };
-
- //! State of players.
- Player players[4];
-
- //! Possible actions.
- Actions possible_actions;
-
- template<class Archive>
- void serialize(Archive & ar, const unsigned int version) {
- ar & players;
- ar & possible_actions;
- }
-};
-
-#endif \ No newline at end of file