tputresources Class Reference

#include <edmisc.h>

Inheritance diagram for tputresources:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void init (int sx, int sy, int dst, int restype, int resmax, int resmin)
virtual void testfield (const MapCoordinate &mc)
 tputresources (GameMap *_gamemap)

Detailed Description

Definition at line 49 of file edmisc.h.


Constructor & Destructor Documentation

tputresources::tputresources ( GameMap _gamemap  )  [inline]

Definition at line 58 of file edmisc.h.


Member Function Documentation

void tputresources::init ( int  sx,
int  sy,
int  dst,
int  restype,
int  resmax,
int  resmin 
)

Definition at line 122 of file edmisc.cpp.

References SearchFields::initsearch(), and SearchFields::startsearch().

Referenced by tputresourcesdlg::run().

void tputresources::testfield ( const MapCoordinate mc  )  [virtual]

Implements SearchFields.

Definition at line 133 of file edmisc.cpp.

References beeline(), SearchFields::dist, SearchFields::gamemap, GameMap::getField(), MapField::material, and min().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:54 2012 for Advanced Strategic Command by  doxygen 1.5.1