summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
blob: 753c920dff0a99e36a1ba811d9ed01c1e2829775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef ACTOR_H
#define ACTOR_H

#include "pixmapitem.h"

class Actor
    : public PixmapItem
{
public:
    enum Movement {
        None = 0,
        Left,
        Right,
        Up,
        Down
    };

    enum Type {
        Player1 = 1,
        Player2,
        Player3,
    };

    Actor(Type type);
private:
    Type m_type;
    Movement m_direction;
};

#endif // ACTOR_H