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

#include <viewcalculation.h>

Inheritance diagram for tcomputeview:
Inheritance graph
[legend]

Public Member Functions

 tcomputeview (GameMap *_actmap)
 
- 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

virtual void initviewcalculation (int view, int jamming, int sx, int sy, int _mode, int _height)
 
virtual void testfield (const MapCoordinate &mc)
 

Protected Attributes

int actView
 
int player
 
int mode
 
int height
 
bool rangeJamming
 
int baseJammingMultiplier
 
int sonar
 
int satellitenview
 
int minenview
 
int viewdist
 
int jamdist
 
- Protected Attributes inherited from SearchFields
GameMapgamemap
 
MapCoordinate startPos
 
bool cancelSearch
 
int firstDistance
 
int lastDistance
 
int dist
 

Detailed Description

Definition at line 27 of file viewcalculation.h.

Constructor & Destructor Documentation

tcomputeview::tcomputeview ( GameMap _actmap)
inline

Definition at line 43 of file viewcalculation.h.

References actView, and GameMap::getPlayerView().

Member Function Documentation

void tcomputeview::initviewcalculation ( int  view,
int  jamming,
int  sx,
int  sy,
int  _mode,
int  _height 
)
protectedvirtual
void tcomputeview::testfield ( const MapCoordinate mc)
protectedvirtual

Member Data Documentation

int tcomputeview::actView
protected

Definition at line 29 of file viewcalculation.h.

Referenced by tcomputeview().

int tcomputeview::baseJammingMultiplier
protected

Definition at line 34 of file viewcalculation.h.

Referenced by testfield().

int tcomputeview::height
protected

Definition at line 32 of file viewcalculation.h.

Referenced by initviewcalculation(), and testfield().

int tcomputeview::jamdist
protected

Definition at line 38 of file viewcalculation.h.

Referenced by initviewcalculation(), and testfield().

int tcomputeview::minenview
protected
int tcomputeview::mode
protected

Definition at line 31 of file viewcalculation.h.

Referenced by initviewcalculation(), and testfield().

int tcomputeview::player
protected
bool tcomputeview::rangeJamming
protected
int tcomputeview::satellitenview
protected
int tcomputeview::sonar
protected
int tcomputeview::viewdist
protected

Definition at line 37 of file viewcalculation.h.

Referenced by initviewcalculation(), and testfield().


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