summaryrefslogtreecommitdiffstats
path: root/pacman-c++/gameentity.cpp
blob: 156dedad9efbb4ecf7dab64211da79f7c1e743d0 (plain)
1
2
3
4
5
6
7
8
9
#include "gameentity.h"

GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent)
  : PixmapItem(parent), m_type(Type), m_eaten(false), m_color(color)
{}

GameEntity::GameEntity(QGraphicsItem *parent)
  : PixmapItem(parent), m_type(Type), m_eaten(false), m_color(Color::none)
{}