Turn Class Reference

#include <turn.h>


Detailed Description

Definition at line 30 of file turn.h.

Public Member Functions

 Turn ()
 Turn (int iNum, int iPlayerId, const PlayedRack &iPldRack, const Round &iRound)
virtual ~Turn ()
void setNum (int iNum)
void setPlayer (int iPlayerId)
void setPlayedRack (const PlayedRack &iPldRack)
void setRound (const Round &iRound)
int getNum () const
int getPlayer () const
const PlayedRackgetPlayedRack () const
const RoundgetRound () const
string toString (bool iShowExtraSigns=false) const


Constructor & Destructor Documentation

Turn::Turn  ) 
 

Definition at line 33 of file turn.cpp.

Turn::Turn int  iNum,
int  iPlayerId,
const PlayedRack iPldRack,
const Round iRound
 

Definition at line 41 of file turn.cpp.

virtual Turn::~Turn  )  [inline, virtual]
 

Definition at line 36 of file turn.h.


Member Function Documentation

int Turn::getNum  )  const [inline]
 

Definition at line 43 of file turn.h.

const PlayedRack& Turn::getPlayedRack  )  const [inline]
 

Definition at line 45 of file turn.h.

Referenced by Game::gameSaveFormat_14(), Player::getLastRack(), and History::playRound().

int Turn::getPlayer  )  const [inline]
 

Definition at line 44 of file turn.h.

const Round& Turn::getRound  )  const [inline]
 

Definition at line 46 of file turn.h.

Referenced by Game::back(), Game::gameSaveFormat_15(), and Player::getLastRound().

void Turn::setNum int  iNum  )  [inline]
 

Definition at line 38 of file turn.h.

Referenced by History::playRound(), and History::removeLastTurn().

void Turn::setPlayedRack const PlayedRack iPldRack  )  [inline]
 

Definition at line 40 of file turn.h.

void Turn::setPlayer int  iPlayerId  )  [inline]
 

Definition at line 39 of file turn.h.

Referenced by History::playRound(), and History::removeLastTurn().

void Turn::setRound const Round iRound  )  [inline]
 

Definition at line 41 of file turn.h.

Referenced by History::playRound(), and History::removeLastTurn().

string Turn::toString bool  iShowExtraSigns = false  )  const
 

Definition at line 57 of file turn.cpp.

References Round::toString(), and PlayedRack::toString().


The documentation for this class was generated from the following files:
Generated on Thu Dec 29 02:01:16 2005 for Eliot by  doxygen 1.4.5