Guest User

Untitled

a guest
Apr 26th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #ifndef PIECE_H_
  2. #define PIECE_H_
  3.  
  4.  
  5. #include <GL/glui.h>
  6. #include <math.h>
  7.  
  8. using namespace std;
  9.  
  10. class Piece{
  11.  
  12. private:
  13.    
  14.    
  15.     int x,y,z,color;
  16.  
  17. public:
  18.     Piece(int x,int z,int color);
  19.     void buildPiece(GLenum mode,GLUquadric* glQ);
  20.     void setCoords(int x, int z);
  21.     int getX(){return x;}
  22.     int getZ(){return z;}
  23.    
  24.  
  25. };
  26.  
  27. #endif
Add Comment
Please, Sign In to add comment