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

#include <containerbase-functions.h>

Inheritance diagram for MiningStation:
Inheritance graph
[legend]

Public Member Functions

 MiningStation (ContainerBase *_bld, bool justQuery_)
 
virtual bool finished ()
 
virtual bool run ()
 
virtual Resources getPlus ()
 
virtual Resources getUsage ()
 
- Public Member Functions inherited from ContainerBase::Work
virtual ~Work ()
 

Protected Member Functions

void testfield (const MapCoordinate &mc)
 
 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 110 of file containerbase-functions.h.

Constructor & Destructor Documentation

MiningStation::MiningStation ( ContainerBase _bld,
bool  justQuery_ 
)

Member Function Documentation

bool MiningStation::finished ( )
virtual

Implements ContainerBase::Work.

Definition at line 763 of file containerbase-functions.cpp.

References Resources::resource().

Resources MiningStation::getPlus ( )
virtual

Implements ContainerBase::Work.

Definition at line 771 of file containerbase-functions.cpp.

Referenced by MiningWindow::getOutput(), and viewMiningPower().

Resources MiningStation::getUsage ( )
virtual

Implements ContainerBase::Work.

Definition at line 776 of file containerbase-functions.cpp.

References Resources::resource().

Referenced by MiningWindow::getOutput().

bool MiningStation::run ( )
virtual
void MiningStation::testfield ( const MapCoordinate mc)
protectedvirtual

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