1 2 3 4 5 6 7
#include "block.h" #include <Qt> Block::Block(Actor::Type type) { setPixmap(QPixmap(":/" + QString("block%1").arg(type))); }