Advanced Strategic Command
Public Member Functions | List of all members
tputresources Class Reference

#include <edmisc.h>

Inheritance diagram for tputresources:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from SearchFields
 SearchFields (GameMap *_gamemap)
 
void initsearch (const MapCoordinate &startPosition, int _firstDistance, int _lastDistance)
 
virtual void startsearch (void)
 
virtual ~SearchFields ()
 

Additional Inherited Members

- Protected Attributes inherited from SearchFields
GameMapgamemap
 
MapCoordinate startPos
 
bool cancelSearch
 
int firstDistance
 
int lastDistance
 
int dist
 

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 123 of file edmisc.cpp.

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

Referenced by tputresourcesdlg::run().

void tputresources::testfield ( const MapCoordinate mc)
virtual

The documentation for this class was generated from the following files: