Airplane Class Reference

#include <Airplane.h>

List of all members.

Public Member Functions

 Airplane ()
 ~Airplane ()
void update (float timeStep)
Vec3 getPosition ()
bool isReadyForJump ()

Detailed Description

The Airplane is a kind of "deus ex machina", in that point that there is a need of respawning enemies in a plausible way without further ado. The Airplane is used to drop an Enemy from the sky. This Enemy is bound to fly towards earth due to gravity in a way of parachuting.

Definition at line 11 of file Airplane.h.


Constructor & Destructor Documentation

Airplane::Airplane (  ) 

constructs an air plane that always flies around

Definition at line 12 of file Airplane.cpp.

Airplane::~Airplane (  ) 

Definition at line 34 of file Airplane.cpp.


Member Function Documentation

Vec3 Airplane::getPosition (  ) 

returns the current position

Returns:
a Vec3 over the current position

Definition at line 73 of file Airplane.cpp.

bool Airplane::isReadyForJump (  ) 

returns whether the airplane is in proximity to let men jump aboard or not

Returns:
true if the airplane is in proximity to let men jump aboard

Definition at line 60 of file Airplane.cpp.

void Airplane::update ( float  timeStep  ) 

updates the graphics state and moves the airplane

Parameters:
timeStep 

Definition at line 41 of file Airplane.cpp.


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

Generated by  doxygen 1.6.2