Advanced Strategic Command
Public Types | Public Member Functions | Protected Member Functions | List of all members
SearchFieldsIterator Class Reference
Inheritance diagram for SearchFieldsIterator:
Inheritance graph

Public Types

typedef FieldIterationFunctor MyFunctor

Public Member Functions

 SearchFieldsIterator (GameMap *_gamemap, MyFunctor &functor)
- Public Member Functions inherited from SearchFields
 SearchFields (GameMap *_gamemap)
void initsearch (const MapCoordinate &startPosition, int _firstDistance, int _lastDistance)
virtual void startsearch (void)
virtual ~SearchFields ()

Protected Member Functions

void testfield (const MapCoordinate &pos)

Additional Inherited Members

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

Detailed Description

Definition at line 272 of file mapalgorithms.cpp.

Member Typedef Documentation

Definition at line 274 of file mapalgorithms.cpp.

Constructor & Destructor Documentation

SearchFieldsIterator::SearchFieldsIterator ( GameMap _gamemap,
MyFunctor functor 

Definition at line 282 of file mapalgorithms.cpp.

Member Function Documentation

void SearchFieldsIterator::testfield ( const MapCoordinate pos)

Implements SearchFields.

Definition at line 278 of file mapalgorithms.cpp.

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