summaryrefslogtreecommitdiffstats
path: root/pacman-c++/common/gameentity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/common/gameentity.cpp')
-rw-r--r--pacman-c++/common/gameentity.cpp9
1 files changed, 9 insertions, 0 deletions
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 @@
1#include "gameentity.h"
2
3GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent)
4 : PixmapItem(parent), m_type(Type), m_color(color)
5{}
6
7GameEntity::GameEntity(QGraphicsItem *parent)
8 : PixmapItem(parent), m_type(Type), m_color(Color::none)
9{}