From ce48af53646cd9e7ec762fc1ac176b3aa620b11d Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 5 May 2011 00:57:07 +0200 Subject: - refactorized the whole project and made a few subprojects - replaced tcp with enet - added connect dialog - some smaller bugfixes --- pacman-c++/common/gameentity.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pacman-c++/common/gameentity.cpp (limited to 'pacman-c++/common/gameentity.cpp') diff --git a/pacman-c++/common/gameentity.cpp b/pacman-c++/common/gameentity.cpp new file mode 100644 index 0000000..e73e759 --- /dev/null +++ b/pacman-c++/common/gameentity.cpp @@ -0,0 +1,9 @@ +#include "gameentity.h" + +GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent) + : PixmapItem(parent), m_type(Type), m_color(color) +{} + +GameEntity::GameEntity(QGraphicsItem *parent) + : PixmapItem(parent), m_type(Type), m_color(Color::none) +{} -- cgit v1.2.3