/[eliot]/eliot/game/history.h
ViewVC logotype

Diff of /eliot/game/history.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by ipkiss, Sun Oct 23 14:53:43 2005 UTC revision 1.3 by ipkiss, Fri Nov 4 20:00:06 2005 UTC
# Line 17  Line 17 
17  /* along with this program; if not, write to the Free Software               */  /* along with this program; if not, write to the Free Software               */
18  /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */  /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
19    
 /* $Id$ */  
   
20  /**  /**
21   *  \file   history.h   *  \file   history.h
22   *  \brief  Game history system   *  \brief  Game history system
# Line 37  class History Line 35  class History
35   public:   public:
36      History();      History();
37      ~History();      ~History();
38        
39      /// get the size of the history      /// get the size of the history
40      int              getSize() const;      int              getSize() const;
41    
42      /// Get the (possibly incomplete) rack      /// Get the (possibly incomplete) rack
43      const PlayedRack getCurrentRack() const;      const PlayedRack getCurrentRack() const;
44    
45      /// Set the current rack      /// Set the current rack
46      void             setCurrentRack(const PlayedRack &iPld);      void             setCurrentRack(const PlayedRack &iPld);
47        
48      /// Get the previous turn      /// Get the previous turn
49      const Turn       getPreviousTurn() const;      const Turn       getPreviousTurn() const;
50    
# Line 56  class History Line 54  class History
54    
55      /// Remove last turn      /// Remove last turn
56      void removeLastTurn();      void removeLastTurn();
57        
58      std::string toString() const;      std::string toString() const;
59    
60   private:   private:

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26