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: |
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 |