4 * Draw a map on the playground.
6 * Copyright: (c) 2007 CTU Dragons
7 * CTU FEE - Department of Control Engineering
8 * Authors: Michal Vokac, Michal Sojka
15 #include <QGraphicsItem>
19 class Map : public QObject, public QGraphicsItem
22 Q_INTERFACES(QGraphicsItem);
26 QRectF boundingRect() const;
27 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
28 void setPixelColor(int x, int y, QColor color);