Advanced Strategic Command
Public Member Functions | List of all members
WeaponRange Class Reference
Inheritance diagram for WeaponRange:
Inheritance graph
[legend]

Public Member Functions

int run (const Vehicle *veh)
 
void testfield (const MapCoordinate &mc)
 
 WeaponRange (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 338 of file mapdisplay.cpp.

Constructor & Destructor Documentation

WeaponRange::WeaponRange ( GameMap _gamemap)
inline

Definition at line 346 of file mapdisplay.cpp.

Member Function Documentation

int WeaponRange::run ( const Vehicle veh)
void WeaponRange::testfield ( const MapCoordinate mc)
inlinevirtual

Implements SearchFields.

Definition at line 342 of file mapdisplay.cpp.

References SearchFields::gamemap, GameMap::getField(), and MapField::setTempw().


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