Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 104 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, and Vehicle::typ.


Member Function Documentation

int WindMovement::getDist int  dir  ) 
 

Definition at line 474 of file mapalgorithms.cpp.

References assert.

Referenced by calcMoveMalus(), and windbeeline().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:22:31 2008 for Advanced Strategic Command by  doxygen 1.4.2