aboutsummaryrefslogtreecommitdiff
path: root/src/Collectible.h
blob: 7ac79d359fb7755d72d5959a0aaadde04c0857a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef Collectible_H
#define Collectible_H

#include "Sprite.h"

class Collectible : public Sprite
{
public:
    Collectible(QGraphicsItem *parent = 0, QGraphicsScene *scene = 0);
    void collected();

    void setValue(int value);
    int getValue() const;

private:
    int m_value;
};

#endif // Collectible_H