add svg sprite source
[blok] / totemblokitem.h
1 #ifndef TOTEMBLOKITEM_H
2 #define TOTEMBLOKITEM_H
3 #include "blokitem.h"
4 class TotemBlokItem : public BlokItem
5 {
6     Q_OBJECT
7 public:
8     enum Totem{YELLOW_TOTEM, BLUE_TOTEM, RED_TOTEM};
9     Q_ENUMS (Totem);
10     explicit TotemBlokItem(int width=64,int height=64,QObject *parent = 0);
11
12     void setTotem(Totem _totem);
13 signals:
14
15 public slots:
16
17 private:
18     Totem mCurrentTotem;
19
20 };
21
22 #endif // TOTEMBLOKITEM_H