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

moves.h File Reference

#include "typedefs.h"

Go to the source code of this file.

Compounds

struct  Move
class  MoveList

Typedefs

typedef enum mode TokenType

Variables

const byte NTokenTypes = 3
const Move NullMove
const byte TaxiMask = 0x01
const byte BusMask = 0x02
const byte SubwayMask = 0x04


Typedef Documentation

typedef enum mode TokenType
 

Definition at line 22 of file moves.h.

Referenced by Detective::Detective(), Spy::NumTokens(), Detective::NumTokens(), Player::NumTokens(), and Rules::StartingTokens().


Variable Documentation

const byte BusMask = 0x02
 

Definition at line 61 of file moves.h.

Referenced by UserInterface::RevealSpy(), UserInterface::ShowSpyMoves(), UserInterface::SpyTurn(), Detective::TakeTurn(), and UserInterface::TransPop().

const byte NTokenTypes = 3
 

Definition at line 23 of file moves.h.

Referenced by Detective::Detective().

const Move NullMove
 

Definition at line 45 of file moves.h.

Referenced by Player::ChooseMove(), UserInterface::NoLegalMoves(), Player::TakeTurn(), Spy::TakeTurn(), and Detective::TakeTurn().

const byte SubwayMask = 0x04
 

Definition at line 62 of file moves.h.

Referenced by UserInterface::RevealSpy(), UserInterface::ShowSpyMoves(), UserInterface::SpyTurn(), Detective::TakeTurn(), and UserInterface::TransPop().

const byte TaxiMask = 0x01
 

Definition at line 60 of file moves.h.

Referenced by UserInterface::ShowSpyMoves(), Detective::TakeTurn(), and UserInterface::TransPop().


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