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

Public Member Functions

 LuaFieldSearcher (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 ()

Public Attributes

FieldVector fields

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 129 of file mapedcommands.cpp.

Constructor & Destructor Documentation

LuaFieldSearcher::LuaFieldSearcher ( GameMap _gamemap)

Definition at line 133 of file mapedcommands.cpp.

Member Function Documentation

void LuaFieldSearcher::testfield ( const MapCoordinate pos)

Implements SearchFields.

Definition at line 138 of file mapedcommands.cpp.

References fields.

Member Data Documentation

FieldVector LuaFieldSearcher::fields

Definition at line 131 of file mapedcommands.cpp.

Referenced by getFieldsInDistance(), and testfield().

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