#ifndef ACTOR_H #define ACTOR_H #include "pixmapitem.h" #include "constants.h" class Actor : public PixmapItem { public: enum Movement { None = 0, Left, Right, Up, Down }; Actor(Color color, QGraphicsItem *parent = 0); private: QPixmap m_pix; Color m_color; Movement m_direction; }; #endif // ACTOR_H