--- /dev/null
+#include "totemblokitem.h"
+
+TotemBlokItem::TotemBlokItem(int width,int height,QObject *parent) :
+ BlokItem(width, height,parent)
+{
+ setTotem(YELLOW_TOTEM);
+ QPen pen;
+ pen.setColor(Qt::transparent);
+ setPen(pen);
+}
+
+
+void TotemBlokItem::setTotem(Totem _totem)
+{
+ mCurrentTotem = _totem;
+
+ if ( mCurrentTotem == YELLOW_TOTEM)
+ {
+ setBrush(QBrush(QPixmap(":sprites/totem1_block.png")));
+ }
+
+ if ( mCurrentTotem == BLUE_TOTEM)
+ {
+ setBrush(QBrush(QPixmap(":sprites/totem2_block.png")));
+
+ }
+
+ if ( mCurrentTotem == RED_TOTEM)
+ {
+ setBrush(QBrush(QPixmap(":sprites/totem3_block.png")));
+
+ }
+
+
+
+}