eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] Changes to eliot/game/game.h


From: eliot-dev
Subject: [Eliot-dev] Changes to eliot/game/game.h
Date: Sat, 05 Nov 2005 20:05:09 -0500

Index: eliot/game/game.h
diff -u eliot/game/game.h:1.21 eliot/game/game.h:1.22
--- eliot/game/game.h:1.21      Sat Nov  5 23:22:42 2005
+++ eliot/game/game.h   Sun Nov  6 01:05:06 2005
@@ -87,7 +87,8 @@
 
     const Board&  getBoard() const { return m_board; }
     const Bag&    getBag()   const { return m_bag; }
-    const Player& getPlayer(int iIndex) const;
+    const Player& getPlayer(int iNum) const;
+    const Turn&   getTurn(int iNum) const;
 
     /**
      * Saved games handling.
@@ -122,7 +123,7 @@
      *    3 : the rack cannot be completed (Game_*_setrackrandom only)
      *************************/
     static const int RACK_SIZE;
-    typedef enum {RACK_ALL, RACK_NEW} set_rack_mode;
+    enum set_rack_mode {RACK_ALL, RACK_NEW};
 
     /**
      * Methods to access already played words.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]