#ifndef BLOCK_H #define BLOCK_H #include "pixmapitem.h" #include "constants.h" #include class Block : public PixmapItem { public: Block(Color color, QGraphicsItem *parent=0); private: // map for saving QPixmaps for reuse static std::map m_pixmaps; }; #endif // BLOCK_H