#include <Airplane.h>
Public Member Functions | |
Airplane () | |
~Airplane () | |
void | update (float timeStep) |
Vec3 | getPosition () |
bool | isReadyForJump () |
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.
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.
Vec3 Airplane::getPosition | ( | ) |
returns 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
Definition at line 60 of file Airplane.cpp.
void Airplane::update | ( | float | timeStep | ) |
updates the graphics state and moves the airplane
timeStep |
Definition at line 41 of file Airplane.cpp.