diff options
Diffstat (limited to 'pacman-c++/block.cpp')
| -rw-r--r-- | pacman-c++/block.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pacman-c++/block.cpp b/pacman-c++/block.cpp new file mode 100644 index 0000000..69f2cd3 --- /dev/null +++ b/pacman-c++/block.cpp | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include "block.h" | ||
| 2 | |||
| 3 | #include <Qt> | ||
| 4 | |||
| 5 | Block::Block(Actor::Type type) { | ||
| 6 | setPixmap(QPixmap(":/" + QString("block%1").arg(type))); | ||
| 7 | } | ||
