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 10:49:00 -0500

Index: eliot/game/game.h
diff -u eliot/game/game.h:1.19 eliot/game/game.h:1.20
--- eliot/game/game.h:1.19      Fri Nov  4 23:26:03 2005
+++ eliot/game/game.h   Sat Nov  5 15:48:59 2005
@@ -69,9 +69,6 @@
         kJOKER      // Joker game
     };
 
-    const Board& getBoard() const { return m_board; }
-    const Bag&   getBag()   const { return m_bag; }
-
     /**
      * Accessors for the variant of the game.
      * The variant can be changed during a game without any problem
@@ -87,6 +84,10 @@
     const Dictionary & getDic() const   { return *m_dic; }
     void setDic(const Dictionary &iDic) { m_dic = &iDic; }
 
+    const Board&  getBoard() const { return m_board; }
+    const Bag&    getBag()   const { return m_bag; }
+    const Player& getPlayer(int iIndex) const;
+
     /**
      * Saved games handling.
      *
@@ -143,7 +144,6 @@
     virtual void addHumanPlayer();
     // TODO: Ability to specify which kind of AI player is wanted
     virtual void addAIPlayer();
-    int  getPlayerPoints(int) const;
     string getPlayerRack(int, bool = false) const;
 
     int  currPlayer() const     { return m_currPlayer; }
@@ -200,9 +200,6 @@
     int helperSetRackRandom(int p, bool iCheck, set_rack_mode mode);
     int helperSetRackManual(int p, bool iCheck, const string &iLetters);
 
-    string formatCoords(const Round &iRound) const;
-    string formatPlayedRack(const PlayedRack &iRack,
-                            bool showExtraSigns = true) const;
     void prevPlayer();
     void nextPlayer();
     bool rackInBag(const Rack &iRack, const Bag &iBag) const;




reply via email to

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