daeltar / arcade_raptor

Variation of space shooter game written in C++ with SDL lib.

arcade_raptor / player_ship.h
100644 21 lines (16 sloc) 0.267 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _PLAYER_SHIP_H
#define _PLAYER_SHIP_H
 
#include "ship.h"
 
/**
* Ship controlled by player
*/
class PlayerShip: public Ship {
private:
  //int mKills;
  
public:
  PlayerShip();
  void repair(int bonus);
  bool can_shoot();
  bool isComputer();
};
 
#endif