Frooster

File 2

Dec 21st, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #ifndef SHIP_H
  2. #define SHIP_H
  3.  
  4. class ship
  5. {
  6.     protected: 
  7.        
  8.         void clearPos(int a,int b);
  9.         void renderShip(int a,int b);
  10.        
  11.     public:
  12.        
  13.         int hitPoints;
  14.         int damage;
  15.         int bullets;
  16.         int currD,currR;
  17.         char pup1,pup2,pup3,pup4;
  18.        
  19.         ship();
  20.        
  21.         void moveUp(int a,int b);
  22.         void moveDown(int a,int b);
  23.         void moveRight(int a,int b);
  24.         void moveLeft(int a,int b);
  25.        
  26.         ~ship();
  27. };
  28.  
  29. #endif
Add Comment
Please, Sign In to add comment