first commit
[blok] / totemblokitem.h
diff --git a/totemblokitem.h b/totemblokitem.h
new file mode 100644 (file)
index 0000000..70c9bbe
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef TOTEMBLOKITEM_H
+#define TOTEMBLOKITEM_H
+#include "blokitem.h"
+class TotemBlokItem : public BlokItem
+{
+    Q_OBJECT
+public:
+    enum Totem{YELLOW_TOTEM, BLUE_TOTEM, RED_TOTEM};
+    Q_ENUMS (Totem);
+    explicit TotemBlokItem(int width=64,int height=64,QObject *parent = 0);
+
+    void setTotem(Totem _totem);
+signals:
+
+public slots:
+
+private:
+    Totem mCurrentTotem;
+
+};
+
+#endif // TOTEMBLOKITEM_H