17 |
/* along with this program; if not, write to the Free Software */ |
/* along with this program; if not, write to the Free Software */ |
18 |
/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
19 |
|
|
|
/* $Id$ */ |
|
|
|
|
20 |
/** |
/** |
21 |
* \file turn.cpp |
* \file turn.cpp |
22 |
* \brief Game turn (= id + pldrack + round) |
* \brief Game turn (= id + pldrack + round) |
23 |
* \author Antoine Fraboulet |
* \author Antoine Fraboulet |
24 |
* \date 2005 |
* \date 2005 |
25 |
*/ |
*/ |
36 |
pldrack = PlayedRack(); |
pldrack = PlayedRack(); |
37 |
round = Round(); |
round = Round(); |
38 |
} |
} |
39 |
|
|
40 |
|
|
41 |
Turn::~Turn() |
Turn::~Turn() |
42 |
{ |
{ |
90 |
} |
} |
91 |
|
|
92 |
|
|
93 |
void |
void |
94 |
Turn::operator=(const Turn &iOther) |
Turn::operator=(const Turn &iOther) |
95 |
{ |
{ |
96 |
num = iOther.num; |
num = iOther.num; |
99 |
} |
} |
100 |
|
|
101 |
|
|
102 |
string |
string |
103 |
Turn::toString(bool showExtraSigns) const |
Turn::toString(bool showExtraSigns) const |
104 |
{ |
{ |
105 |
string rs = ""; |
string rs = ""; |