added morphs, fix some bugs, new images
added onAlienInRadius trigger but it not work right((
This commit is contained in:
33
form.h
33
form.h
@@ -4,6 +4,8 @@
|
||||
#include <QWidget>
|
||||
#include "adcore.h"
|
||||
#include "ad_graphics.h"
|
||||
#include "touchbuttframe.h"
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class Form;
|
||||
@@ -18,24 +20,25 @@ public:
|
||||
~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);
|
||||
void on_pbNextWave_clicked();
|
||||
void towerBuild(int index);
|
||||
void towerMorph(int index);
|
||||
void add_tow(QPoint pnt);
|
||||
void selectedTowerChanged(QPoint id);
|
||||
void cancel();
|
||||
|
||||
void on_sbSpeed_valueChanged(double arg1);
|
||||
|
||||
private:
|
||||
void timerEvent(QTimerEvent *);
|
||||
void timerEvent(QTimerEvent *);
|
||||
Ui::Form *ui;
|
||||
int buildTowerId;
|
||||
AD_Core core;
|
||||
AD_Graphics * graphics;
|
||||
TouchButtFrame * morphtbf;
|
||||
|
||||
Ui::Form *ui;
|
||||
int buildTowerId;
|
||||
AD_Core core;
|
||||
AD_Graphics * graphics;
|
||||
QPoint cur_tow;
|
||||
int cur_al;
|
||||
//QList <QPushButton *> towerButtons;
|
||||
signals:
|
||||
void tower_killed();
|
||||
};
|
||||
|
||||
#endif // FORM_H
|
||||
|
||||
Reference in New Issue
Block a user