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

Diff of /eliot/game/round.h

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

revision 1.8 by ipkiss, Sat Nov 5 11:01:58 2005 UTC revision 1.9 by ipkiss, Sat Nov 5 13:56:59 2005 UTC
# Line 71  public: Line 71  public:
71      bool isPlayedFromRack(int iIndex) const;      bool isPlayedFromRack(int iIndex) const;
72      const Tile& getTile  (int iIndex) const;      const Tile& getTile  (int iIndex) const;
73      int getWordLen() const;      int getWordLen() const;
74      int getPoints()  const      { return m_points; }      int getPoints()  const        { return m_points; }
75      int getBonus()   const      { return m_bonus; }      int getBonus()   const        { return m_bonus; }
76    
77      /*************************      /*************************
78       * Coordinates       * Coordinates
79       *************************/       *************************/
80      int getRow() const                 { return m_coord.getRow(); }      const Coord& getCoord() const { return m_coord; }
81      int getCol() const                 { return m_coord.getCol(); }      Coord& accessCoord()          { return m_coord; }
     Coord::Direction getDir() const    { return m_coord.getDir(); }  
     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); }  
82    
83  private:  private:
84      vector<Tile> m_word;      vector<Tile> m_word;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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