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

Diff of /eliot/game/turn.h

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

revision 1.2 by ipkiss, Sun Oct 23 14:53:43 2005 UTC revision 1.2.2.1 by afrab, Sun Oct 23 17:16:24 2005 UTC
# Line 29  Line 29 
29  #ifndef _TURN_H  #ifndef _TURN_H
30  #define _TURN_H  #define _TURN_H
31    
32    #include <string>
33    #include "pldrack.h"
34    #include "round.h"
35    
36  class Turn  class Turn
37  {  {
38   protected:   protected:
# Line 46  class Turn Line 50  class Turn
50      void setPlayedRack(const PlayedRack&);      void setPlayedRack(const PlayedRack&);
51      void setRound(const Round&);      void setRound(const Round&);
52    
53      int        getNum()        const;      int               getNum()        const;
54      int        getPlayer()     const;      int               getPlayer()     const;
55      PlayedRack getPlayedRack() const;      const PlayedRack& getPlayedRack() const;
56      Round      getRound()      const;      const Round&      getRound()      const;
57    
58      void operator=(const Turn &iOther);      void operator=(const Turn &iOther);
59      string toString(bool showExtraSigns = false) const;      std::string toString(bool showExtraSigns = false) const;
60  };  };
61    
62  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

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