mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
|
A police ship. More...
#include <PoliceShip.h>
Public Member Functions | |
PoliceShip (float r, GLuint displayList, std::vector< Vector3 > point, PlayerObject *player, float maxSpeed) | |
~PoliceShip (void) | |
void | adjust (float t) |
void | stationWasHit () |
A police ship.
A police ship has a distinct behaviour. It flies around the Coriolis station, and attacks all ships that are attacking the police ship. If the Coriolis station is attacked, all police ships start attacking the player at once.
Definition at line 16 of file PoliceShip.h.
PoliceShip::PoliceShip | ( | float | r, |
GLuint | displayList, | ||
std::vector< Vector3 > | point, | ||
PlayerObject * | player, | ||
float | maxSpeed | ||
) |
Definition at line 8 of file PoliceShip.cpp.
PoliceShip::~PoliceShip | ( | void | ) |
Definition at line 20 of file PoliceShip.cpp.
void PoliceShip::adjust | ( | float | t | ) |
Definition at line 33 of file PoliceShip.cpp.
void PoliceShip::stationWasHit | ( | ) |
Definition at line 24 of file PoliceShip.cpp.