Skip to content
table.h 828 B
Newer Older
#ifndef TABLE_H_INCLUDED
#define TABLE_H_INCLUDED

#include <QWidget>
#include <Box2D.h>
#include "TableGraphics.h"
#include "XMLReader.h"
#include "sensors.h"
#include "bougie.h"
    static const int tableHeight = 2000;
	static b2AABB getWorldAABB();
    Bougie p_bougies[20];
    Bougie p_balles[20];
	//static const int tableWidth = 2100;
	//static const int tableHeight = 3000;

	Table(QWidget* widget);
	virtual ~Table();

	void update(int dt);
	void paintEvent(QPaintEvent* evt);
	void keyPressEvent(QKeyEvent* evt, bool press);