From eef1d8ea60e3797ba261ebfe61a7d1e165069ed4 Mon Sep 17 00:00:00 2001 From: totycro Date: Mon, 4 Apr 2011 22:02:31 +0200 Subject: Use only 1 color format for everything Simple map parsing for Blocks and Bonus points --- pacman-c++/block.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pacman-c++/block.h') diff --git a/pacman-c++/block.h b/pacman-c++/block.h index 1e76aa9..f19b590 100644 --- a/pacman-c++/block.h +++ b/pacman-c++/block.h @@ -1,20 +1,22 @@ #ifndef BLOCK_H #define BLOCK_H -#include #include "pixmapitem.h" -#include "actor.h" + +#include + +#include "constants.h" class Block : public PixmapItem { public: - Block(Actor::Type type); + Block(Color color); private: // map for saving QPixmaps for reuse - std::map m_pixmaps; + static std::map m_pixmaps; }; -- cgit v1.2.3