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
Pirate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "foreignspaceship.h"
8 #include "PlayerObject.h"
9 
11 class Pirate :
12  public ForeignSpaceShip
13 {
14 public:
15  Pirate(float r, GLuint displayList, PlayerObject *player, float maxSpeed);
16 public:
17  ~Pirate(void);
18 public:
19  void adjust (float t);
20 private:
21  PlayerObject *player;
22  float maxSpeed;
23  bool behindPlayer();
24 };