QTfrontend/hedgehogerWidget.h
author unc0rr
Sun, 03 Sep 2006 18:01:34 +0000
changeset 139 340ded7cc336
parent 132 2d0f404cdf05
child 140 50ccde437ea1
permissions -rw-r--r--
Fixed AI bug, introduced by previous changes

#ifndef _HEDGEHOGER_WIDGET
#define _HEDGEHOGER_WIDGET

#include <QWidget>

class CHedgehogerWidget : public QWidget
{
  Q_OBJECT

 public:
  CHedgehogerWidget(QWidget * parent = 0);

 protected:
  virtual void paintEvent(QPaintEvent* event);
  virtual void mousePressEvent ( QMouseEvent * event );
  
 private:
  unsigned char numHedgedogs;
};

#endif // _HEDGEHOGER_WIDGET