Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

GroundMovement Class Reference

#include <groundmovement.h>

Inheritance diagram for GroundMovement::

UnitMarine List of all members.

Public Methods

 GroundMovement (Game *pgame)
 ~GroundMovement ()
VectorgetPosition ()
float getSpeed ()
float getAngle ()
float getPitch ()
float getTilt ()
void moveSetDestination (Vector destpos)
VectormoveGetDestination ()
void moveStep ()
void setPosition (Vector &pos)
void setTurnRate (float rate)
void setTopSpeed (float speed)
void setAcceleration (float a)

Private Methods

bool isSomethingOnMyWay (Vector direction)

Private Attributes

Vector position
Vector destPosition
float angle
float pitch
float tilt
float velocity
float turnrate
float acceleration
float topspeed
float positionTolerance
float turnrange_near
float turnrange_far
float radarresolution
RenderermRenderer
GroundmGround
GamemGame

Detailed Description

Movement for ground units
Author:
T Kontkanen


Constructor & Destructor Documentation

GroundMovement::GroundMovement Game *   pgame
 

GroundMovement::~GroundMovement  
 


Member Function Documentation

float GroundMovement::getAngle   [inline]
 

float GroundMovement::getPitch   [inline]
 

Vector& GroundMovement::getPosition   [inline]
 

float GroundMovement::getSpeed   [inline]
 

float GroundMovement::getTilt   [inline]
 

bool GroundMovement::isSomethingOnMyWay Vector   direction [private]
 

Vector& GroundMovement::moveGetDestination   [inline]
 

void GroundMovement::moveSetDestination Vector   destpos [inline]
 

void GroundMovement::moveStep  
 

void GroundMovement::setAcceleration float   a [inline]
 

void GroundMovement::setPosition Vector &   pos [inline]
 

void GroundMovement::setTopSpeed float   speed [inline]
 

void GroundMovement::setTurnRate float   rate [inline]
 


Member Data Documentation

float GroundMovement::acceleration [private]
 

float GroundMovement::angle [private]
 

Vector GroundMovement::destPosition [private]
 

Game* GroundMovement::mGame [private]
 

Ground* GroundMovement::mGround [private]
 

Renderer* GroundMovement::mRenderer [private]
 

float GroundMovement::pitch [private]
 

Vector GroundMovement::position [private]
 

float GroundMovement::positionTolerance [private]
 

float GroundMovement::radarresolution [private]
 

float GroundMovement::tilt [private]
 

float GroundMovement::topspeed [private]
 

float GroundMovement::turnrange_far [private]
 

float GroundMovement::turnrange_near [private]
 

float GroundMovement::turnrate [private]
 

float GroundMovement::velocity [private]
 


The documentation for this class was generated from the following file:
Generated at Fri Oct 5 20:23:53 2001 for Executor by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001