Advanced Strategic Command
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GetMiningInfo Class Reference

calculates some mining statistics for a mining station More...

#include <containerbase-functions.h>

Inheritance diagram for GetMiningInfo:
Inheritance graph
[legend]

Classes

class  MiningInfo
 

Public Member Functions

 GetMiningInfo (const ContainerBase *container)
 
const MiningInfogetMiningInfo ()
 
- 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 &mc)
 

Protected Attributes

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

Detailed Description

calculates some mining statistics for a mining station

Definition at line 134 of file containerbase-functions.h.

Constructor & Destructor Documentation

GetMiningInfo::GetMiningInfo ( const ContainerBase container)

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

Member Function Documentation

const MiningInfo& GetMiningInfo::getMiningInfo ( )
inline

Definition at line 149 of file containerbase-functions.h.

Referenced by MiningGraph::MiningGraph().

void GetMiningInfo::testfield ( const MapCoordinate mc)
protectedvirtual

Member Data Documentation

MiningInfo GetMiningInfo::miningInfo
protected

Definition at line 149 of file containerbase-functions.h.

Referenced by testfield().


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