eliot-dev
[Top][All Lists]
Advanced

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

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


From: eliot-dev
Subject: [Eliot-dev] Changes to eliot/game/round.h [antoine-1]
Date: Sun, 23 Oct 2005 16:59:13 -0400

Index: eliot/game/round.h
diff -u eliot/game/round.h:1.6.2.2 eliot/game/round.h:1.6.2.3
--- eliot/game/round.h:1.6.2.2  Sun Oct 23 18:38:18 2005
+++ eliot/game/round.h  Sun Oct 23 20:58:20 2005
@@ -18,8 +18,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *****************************************************************************/
 
-/* $Id: round.h,v 1.6.2.2 2005/10/23 18:38:18 afrab Exp $ */
-
 #ifndef _ROUND_H_
 #define _ROUND_H_
 
@@ -40,14 +38,14 @@
 public:
 
     /*************************
-     * 
+     *
      *************************/
     Round();
     virtual ~Round() {}
     void init();
 
     /*************************
-     * 
+     *
      *************************/
     void addRightFromBoard(Tile);
     void removeRightToBoard(Tile);
@@ -68,7 +66,7 @@
     void setJoker(int iIndex, bool value = true);
 
     /*************************
-     * 
+     *
      *************************/
     bool        isJoker         (int iIndex) const;
     bool        isPlayedFromRack(int iIndex) const;
@@ -79,24 +77,24 @@
     const Tile& getTile         (int iIndex) const;
     std::string getWord() const;
 
-    int getWordLen() const; 
+    int getWordLen() const;
     int getPoints() const       { return m_points; }
     int getBonus() const        { return m_bonus; }
 
-    
+
     /*************************
      * Coordinate system
      *************************/
-    void setRow(int iRow)            { m_coord.setRow(iRow); }
-    void setCol(int iCol)            { m_coord.setCol(iCol); }
-    void setDir(Direction iDir)      { m_coord.setDir(iDir); }
-    int getRow() const               { return m_coord.getRow(); }
-    int getCol() const               { return m_coord.getCol(); }
-    Direction getDir() const         { return m_coord.getDir(); }
-    std::string getStrCoord() const  { return m_coord.toString(); }
+    void setRow(int iRow)              { m_coord.setRow(iRow); }
+    void setCol(int iCol)              { m_coord.setCol(iCol); }
+    void setDir(Coord::Direction iDir) { m_coord.setDir(iDir); }
+    int getRow() const                 { return m_coord.getRow(); }
+    int getCol() const                 { return m_coord.getCol(); }
+    Coord::Direction getDir() const    { return m_coord.getDir(); }
+    std::string getStrCoord() const    { return m_coord.toString(); }
 
-    Coord getCoord() const           { return m_coord; }
-    void setCoord(Coord c)           { m_coord = c; }
+    Coord getCoord() const             { return m_coord; }
+    void setCoord(Coord c)             { m_coord = c; }
 
     /*************************
      *
@@ -114,7 +112,7 @@
 
 #endif
 
-
+
 /// Local Variables:
 /// mode: hs-minor
 /// c-basic-offset: 4




reply via email to

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