WindMovement Class Reference

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

#include <mapalgorithms.h>

List of all members.

Public Member Functions

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


Detailed Description

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

Definition at line 105 of file mapalgorithms.h.


Constructor & Destructor Documentation

WindMovement::WindMovement ( const Vehicle vehicle  ) 

Definition at line 428 of file mapalgorithms.cpp.

References ContainerBase::getMap(), maxwindspeed, VehicleType::movement, pi, sidenum, square, Vehicle::typ, GameMap::weather, GameMap::Weather::windDirection, and GameMap::Weather::windSpeed.


Member Function Documentation

int WindMovement::getDist ( int  dir  ) 

Definition at line 474 of file mapalgorithms.cpp.

Referenced by calcMoveMalus(), and windbeeline().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:48:10 2012 for Advanced Strategic Command by  doxygen 1.5.1