summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.cpp
blob: 860f49036431db6270f5ef25bb93b929c1a3ff23 (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);
}