changes in arhitecture, some improvments, much optimising and simplify,
many bagfixes and new graphics engine
This commit is contained in:
41
form.h
Normal file
41
form.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef FORM_H
|
||||
#define FORM_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "adcore.h"
|
||||
#include "ad_graphics.h"
|
||||
|
||||
namespace Ui {
|
||||
class Form;
|
||||
}
|
||||
|
||||
class Form : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Form(QWidget *parent = 0);
|
||||
~Form();
|
||||
|
||||
private slots:
|
||||
void on_pbNextWave_clicked();
|
||||
void towerBuild(int index);
|
||||
void add_tow(QPoint pnt);
|
||||
//void del_tow(QPoint pnt);
|
||||
void cancel();
|
||||
void towerSelected(QPoint id);
|
||||
void alienSelected(int id);
|
||||
|
||||
private:
|
||||
void timerEvent(QTimerEvent *);
|
||||
|
||||
Ui::Form *ui;
|
||||
int buildTowerId;
|
||||
AD_Core core;
|
||||
AD_Graphics * graphics;
|
||||
QPoint cur_tow;
|
||||
int cur_al;
|
||||
//QList <QPushButton *> towerButtons;
|
||||
};
|
||||
|
||||
#endif // FORM_H
|
||||
Reference in New Issue
Block a user