summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.cpp
blob: 576fded84e5a56d4a1510f33302f08def89cb291 (plain)
1
2
3
4
5
6
7
#include "actor.h"

Actor::Actor(Type type)
  : PixmapItem("google-pacman-sprite"), m_type(type), m_direction(Actor::None)
{
  setSprite(2, 2, 16, 16);
}