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

Diff of /eliot/game/training.h

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

revision 1.10.2.2 by afrab, Sun Oct 23 18:38:18 2005 UTC revision 1.10.2.3 by ipkiss, Sun Oct 23 20:58:20 2005 UTC
# Line 18  Line 18 
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   *****************************************************************************/   *****************************************************************************/
20    
 /* $Id$ */  
   
21  #ifndef _TRAINING_H_  #ifndef _TRAINING_H_
22  #define _TRAINING_H_  #define _TRAINING_H_
23    
# Line 46  public: Line 44  public:
44      /*************************      /*************************
45       * Game handling       * Game handling
46       *************************/       *************************/
47        
48      /// play a round on the board      /// Play a round on the board
49      virtual int play(int player, Round& round);      virtual int play(int player, Round& oRound);
50      virtual int back();      virtual int back();
51        using Game::back;
52    
53      /// search for the best possibilities      /// Search for the best possibilities
54      void search();      void search();
55      const Results& getResults() const { return m_results; }      const Results& getResults() const { return m_results; }
56    
57      /// play result 'n'      /// Play result 'n'
58      int  playResult(int);      int  playResult(int);
59    
60      /// Place a temporary word on the board for preview purpose      /// Place a temporary word on the board for preview purpose
# Line 65  public: Line 64  public:
64      void removeTestPlay();      void removeTestPlay();
65    
66      /// Get the temporary word      /// Get the temporary word
67      std::string getTestPlayWord();      std::string getTestPlayWord() const;
68        
69      int setRack(PlayedRack::set_rack_mode mode, bool check, std::string rack);      int setRack(PlayedRack::set_rack_mode mode, bool check, const std::string& rack);
70    
71  private:  private:
72      // Private constructor and destructor to force using the GameFactory class      // Private constructor and destructor to force using the GameFactory class
# Line 81  private: Line 80  private:
80    
81  #endif /* _TRAINING_H_ */  #endif /* _TRAINING_H_ */
82    
83    
84  /// Local Variables:  /// Local Variables:
85  /// mode: hs-minor  /// mode: hs-minor
86  /// c-basic-offset: 4  /// c-basic-offset: 4

Legend:
Removed from v.1.10.2.2  
changed lines
  Added in v.1.10.2.3

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