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

caches some calculations for the effects that wind has on the movement of units More...

#include <mapalgorithms.h>

Public Member Functions

 WindMovement (const Vehicle *vehicle)
 
int getDist (int dir)
 
int getDist (int dir) const
 

Detailed Description

caches some calculations for the effects that wind has on the movement of units

Definition at line 106 of file mapalgorithms.h.

Constructor & Destructor Documentation

WindMovement::WindMovement ( const Vehicle vehicle)

Member Function Documentation

int WindMovement::getDist ( int  dir)
inline

Definition at line 110 of file mapalgorithms.h.

Referenced by calcMoveMalus(), and windbeeline().

int WindMovement::getDist ( int  dir) const
inline

Definition at line 111 of file mapalgorithms.h.


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