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

Diff of /eliot/game/player.h

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

revision 1.12 by ipkiss, Sun Nov 6 14:53:15 2005 UTC revision 1.13 by ipkiss, Sun Nov 6 17:13:45 2005 UTC
# Line 33  class Turn; Line 33  class Turn;
33  class Player  class Player
34  {  {
35  public:  public:
36      Player();      Player(int iId);
37      virtual ~Player();      virtual ~Player();
38    
39      // Pseudo RTTI      // Pseudo RTTI
# Line 64  public: Line 64  public:
64      void endTurn(const Round &iRound, int iTurn);      void endTurn(const Round &iRound, int iTurn);
65    
66  private:  private:
67        /// ID of the player
68        int m_id;
69    
70      /// Score of the player      /// Score of the player
71      int m_score;      int m_score;
72    
# Line 84  private: Line 87  private:
87  class HumanPlayer: public Player  class HumanPlayer: public Player
88  {  {
89  public:  public:
90      HumanPlayer() {}      HumanPlayer(int iId): Player(iId) {}
91      virtual ~HumanPlayer() {}      virtual ~HumanPlayer() {}
92    
93      // Pseudo RTTI      // Pseudo RTTI

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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