Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PLAYER
- #define PLAYER
- #include <QGraphicsRectItem>
- #include <QKeyEvent>
- class Player : public QGraphicsRectItem{
- public:
- Player();
- void keyPressEvent(QKeyEvent *event);
- private:
- };
- #endif // PLAYER
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement