Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

players.h File Reference

#include <values.h>
#include "moves.h"

Go to the source code of this file.

Compounds

class  Computer
class  ComputerDetective
class  ComputerSpy
class  Detective
class  Human
class  HumanDetective
class  HumanSpy
class  Player
class  Spy

Typedefs

typedef int PosType

Variables

const int Invalid = MAXINT
const int NameSize = 40
const int MaxPlayers = 6
const int theSpy = 0
PlayerthePlayers [MaxPlayers]
int NumPlayers


Typedef Documentation

typedef int PosType
 

Definition at line 15 of file players.h.

Referenced by ComputerDetective::ComputerDetective(), ComputerSpy::ComputerSpy(), Rules::GetLegalMoves(), Player::GetPosition(), HumanDetective::HumanDetective(), HumanSpy::HumanSpy(), Rules::Occupato(), Player::Player(), Player::Position(), Rules::RandomPos(), Rules::ShowSpy(), Rules::SpyCaught(), and Rules::UpdateSpyPos().


Variable Documentation

const int Invalid = MAXINT
 

Definition at line 17 of file players.h.

Referenced by PlayerWindow::DrawInfo(), and Spy::NumTokens().

const int MaxPlayers = 6
 

Definition at line 19 of file players.h.

Referenced by KeyWindow::Draw(), KeyWindow::Init(), and UserInterface::UFWOOM().

const int NameSize = 40
 

Definition at line 18 of file players.h.

Referenced by Player::Player().

int NumPlayers
 

Definition at line 167 of file players.h.

Referenced by HosePlayers(), main(), and PlayerSetup().

Player* thePlayers[MaxPlayers]
 

Definition at line 166 of file players.h.

const int theSpy = 0
 

Definition at line 20 of file players.h.

Referenced by Rules::ShowSpy(), and Rules::SpyCaught().


Generated on Sun Jul 6 23:07:16 2003 for Scotland Yard by doxygen1.2.15