[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/player.h
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/player.h |
Date: |
Sun, 06 Nov 2005 12:13:50 -0500 |
Index: eliot/game/player.h
diff -u eliot/game/player.h:1.12 eliot/game/player.h:1.13
--- eliot/game/player.h:1.12 Sun Nov 6 14:53:15 2005
+++ eliot/game/player.h Sun Nov 6 17:13:45 2005
@@ -33,7 +33,7 @@
class Player
{
public:
- Player();
+ Player(int iId);
virtual ~Player();
// Pseudo RTTI
@@ -64,6 +64,9 @@
void endTurn(const Round &iRound, int iTurn);
private:
+ /// ID of the player
+ int m_id;
+
/// Score of the player
int m_score;
@@ -84,7 +87,7 @@
class HumanPlayer: public Player
{
public:
- HumanPlayer() {}
+ HumanPlayer(int iId): Player(iId) {}
virtual ~HumanPlayer() {}
// Pseudo RTTI