Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #ifndef PLAYER
  2. #define PLAYER
  3.  
  4. #include <QGraphicsRectItem>
  5. #include <QKeyEvent>
  6.  
  7. class Player : public QGraphicsRectItem{
  8. public:
  9.     Player();
  10.     void keyPressEvent(QKeyEvent *event);
  11. private:
  12.  
  13.  
  14. };
  15.  
  16. #endif // PLAYER
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement