/[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.2.2.1 by afrab, Sun Oct 23 17:16:24 2005 UTC
# Line 49  class History Line 49  class History
49            
50      /// Get the previous turn      /// Get the previous turn
51      const Turn       getPreviousTurn() const;      const Turn       getPreviousTurn() const;
52        
53        /// Get turn 'n'
54        const Turn       getTurn(unsigned int) const;
55    
56      /// Update the "history" with the given round and, complete the turn.      /// Update the "history" with the given round and, complete the turn.
57      /// a new turn is created with the remaining letters in the rack      /// a new turn is created with the remaining letters in the rack
# Line 57  class History Line 60  class History
60      /// Remove last turn      /// Remove last turn
61      void removeLastTurn();      void removeLastTurn();
62            
63        /// String handling
64      std::string toString() const;      std::string toString() const;
65    
66   private:   private:
67      vector < Turn* > history;      std::vector < Turn* > history;
68  };  };
69    
70  #endif  #endif

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

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