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

Human Class Reference

#include <players.h>

Inheritance diagram for Human:

Player HumanDetective HumanSpy List of all members.

Protected Methods

Move ChooseMove (void)

Member Function Documentation

Move Human::ChooseMove void    [protected, virtual]
 

Reimplemented from Player.

Definition at line 82 of file players.c.

References MoveList::Length().

00083   {
00084    MoveList *ml = theRules.GetLegalMoves (*this);
00085    Move m;
00086    if (ml->Length() == 0)
00087      m = UI.NoLegalMoves (*this);
00088    else
00089      m = UI.GetPlayerMove (*this, *ml);
00090    delete ml;
00091    return m;
00092   }


The documentation for this class was generated from the following files:
Generated on Sun Jul 6 23:07:17 2003 for Scotland Yard by doxygen1.2.15