diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-04 14:01:49 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-04 14:01:49 +0200 |
| commit | de2f8fbd228910b608e8dea5dc7c16d9f99495f8 (patch) | |
| tree | 7d20686c7652d5c1506e6d69cd1fd0b45eee8c66 /pacman-c++/block.cpp | |
| parent | 03c82aa4ebb40b7c6ba5a304df6ff11b85afe80d (diff) | |
| download | foop-de2f8fbd228910b608e8dea5dc7c16d9f99495f8.tar.gz foop-de2f8fbd228910b608e8dea5dc7c16d9f99495f8.tar.bz2 foop-de2f8fbd228910b608e8dea5dc7c16d9f99495f8.zip | |
Added block
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 | } | ||
