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