CField Class Reference
[Client API]

Field for the client. More...

#include <CField.hh>

Inheritance diagram for CField:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const PosList & getPath (const Position &start, const Position &dest, CPlayer *p)
 Get path from one point to another.

Detailed Description

Field for the client.


Member Function Documentation

const PosList & CField::getPath ( const Position start,
const Position dest,
CPlayer p 
)

Get path from one point to another.

Returns:
A list of point, describing the path. This list will be empty if no path is found.
Note:
The list is internally allocated and disallocated. Do not try to modify it.


The documentation for this class was generated from the following files:
Generated on Sat Jun 23 16:09:46 2007 for Stechec/TBT by  doxygen 1.4.7