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
PoliceShip.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "foreignspaceship.h"
8 #include "PlayerObject.h"
9 
11 
16 class PoliceShip :
17  public ForeignSpaceShip
18 {
19 public:
20  PoliceShip(float r, GLuint displayList, std::vector<Vector3> point, PlayerObject * player, float maxSpeed);
21 public:
22  ~PoliceShip(void);
23 public:
24  void adjust (float t);
25  void stationWasHit();
26 private:
27  std::vector<Vector3> point;
28  unsigned int aim;
29  float maxSpeed;
30  PlayerObject * player;
31  bool behindPlayer();
32  bool m_station_was_hit;
33 };