4 * Draw and move a robot on the playground.
6 * Copyright: (c) 2007 CTU Dragons
7 * CTU FEE - Department of Control Engineering
8 * Authors: Martin Zidek, Michal Sojka, Tran Duy Khanh
15 #include <QGraphicsItem>
16 #include <QGraphicsLineItem>
20 class Robot : public QObject, public QGraphicsItem
24 Robot(const QString &aText, const QPen &pen = QPen(), const QBrush &brush = QBrush());
26 QRectF boundingRect() const;
27 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
28 void moveRobot(double x, double y, double angle);
30 void mySetVisible(bool show);
31 void setVidle(int value);