summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
blob: 4cdb3b80acc7df979b1280e7c900ba9a3624d7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QtGui>

#include "constants.h"

class MainWidget
  : public QWidget
{
  Q_OBJECT

public:
  MainWidget();

private:
  void loadDummyMap();

  // data conversion
  QPoint mapPositionToCoord(unsigned int x, unsigned int y);

  QGraphicsScene *scene;
};

#endif // MAINWIDGET_H