From 651a1bee1adc5318922d1b37b0cea11a65df71e2 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 12 Apr 2011 18:08:02 +0200 Subject: make removal of items from scene delayed by one tick (looks better) all items are now derived from gameentity and gameentity is derived from pixmapitem: - this is naturally better - allows us to add a generic gameentity.color() --- pacman-c++/block.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pacman-c++/block.h') diff --git a/pacman-c++/block.h b/pacman-c++/block.h index 9e49a7d..db104e3 100644 --- a/pacman-c++/block.h +++ b/pacman-c++/block.h @@ -1,12 +1,12 @@ #ifndef BLOCK_H #define BLOCK_H -#include "pixmapitem.h" +#include "gameentity.h" #include "constants.h" #include class Block - : public PixmapItem + : public GameEntity { public: enum Neighbour -- cgit v1.2.3