diff options
| author | manuel <manuel@mausz.at> | 2011-04-04 14:45:43 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-04 14:45:43 +0200 |
| commit | b310b66be264330e271f4929065cd61f0b0d8bf4 (patch) | |
| tree | 70545d73cc58ef7a441335fdc5d2f0f683ef6d49 /pacman-c++/block.cpp | |
| parent | 471177aad38350840eed6452b1ad8723b61c330d (diff) | |
| parent | de2f8fbd228910b608e8dea5dc7c16d9f99495f8 (diff) | |
| download | foop-b310b66be264330e271f4929065cd61f0b0d8bf4.tar.gz foop-b310b66be264330e271f4929065cd61f0b0d8bf4.tar.bz2 foop-b310b66be264330e271f4929065cd61f0b0d8bf4.zip | |
Merge branch 'master' of ssh://manuel.mausz.at/foop
Conflicts:
pacman-c++/main.cpp
pacman-c++/pacman.qrc
Diffstat (limited to 'pacman-c++/block.cpp')
| -rw-r--r-- | pacman-c++/block.cpp | 8 |
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 | |||
| 5 | Block::Block(Actor::Type type) | ||
| 6 | { | ||
| 7 | setPixmap(QPixmap(":/" + QString("block%1").arg(type))); | ||
| 8 | } | ||
