mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
PoliceShip Class Reference

A police ship. More...

#include <PoliceShip.h>

Inheritance diagram for PoliceShip:

Public Member Functions

 PoliceShip (float r, GLuint displayList, std::vector< Vector3 > point, PlayerObject *player, float maxSpeed)
 
 ~PoliceShip (void)
 
void adjust (float t)
 
void stationWasHit ()
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

void PoliceShip::adjust ( float  t)

Definition at line 33 of file PoliceShip.cpp.

void PoliceShip::stationWasHit ( )

Definition at line 24 of file PoliceShip.cpp.


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