#ifndef ACTOR_H #define ACTOR_H #include "pixmapitem.h" class Actor : public PixmapItem { public: enum Movement { None = 0, Left, Right, Up, Down }; enum Type { Player1 = 1, // red Player2, // blue Player3, // green Player4, // yellow }; Actor(Type type); private: QPixmap m_pix; Type m_type; Movement m_direction; }; #endif // ACTOR_H