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

rules.h File Reference

#include "map.h"
#include "moves.h"
#include "players.h"

Go to the source code of this file.

Compounds

class  Rules

Enumerations

enum  preyass { spyWins = -1, notYet }

Variables

const int MAXTURNS = 24
const int MAXPLAYERS = 6
const int NUM_TAXI_TOKENS = 15
const int NUM_BUS_TOKENS = 10
const int NUM_SUBWAY_TOKENS = 6
Rules theRules


Enumeration Type Documentation

enum preyass
 

Enumeration values:
spyWins 
notYet 

Definition at line 17 of file rules.h.

Referenced by Rules::GameOver().

00017 { spyWins = -1, notYet };


Variable Documentation

const int MAXPLAYERS = 6
 

Definition at line 13 of file rules.h.

Referenced by PlayerSetup(), and Rules::RandomPos().

const int MAXTURNS = 24
 

Definition at line 12 of file rules.h.

Referenced by Rules::NoTurnsLeft(), and Rules::NumTurns().

const int NUM_BUS_TOKENS = 10
 

Definition at line 15 of file rules.h.

Referenced by Rules::StartingTokens().

const int NUM_SUBWAY_TOKENS = 6
 

Definition at line 16 of file rules.h.

Referenced by Rules::StartingTokens().

const int NUM_TAXI_TOKENS = 15
 

Definition at line 14 of file rules.h.

Referenced by Rules::StartingTokens().

Rules theRules
 

Definition at line 53 of file rules.h.


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