From 8bfe5dc896639328329197c32e2276309aa1b83d Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 27 Nov 2010 04:20:32 +0100 Subject: Removed obsolete files. --- common/state.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 common/state.h (limited to 'common/state.h') 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 - -#include "tile.h" -#include "action.h" - -class State { - public: - typedef boost::shared_ptr p; - - struct Player { - //! Concealed tiles in hand. - Tiles hand; - //! Open tiles in hand. - Tiles open; - //! Discarded tiles. - Tiles pond; - - template - 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 - void serialize(Archive & ar, const unsigned int version) { - ar & players; - ar & possible_actions; - } -}; - -#endif \ No newline at end of file -- cgit v1.2.3