added morphs, fix some bugs, new images
added onAlienInRadius trigger but it not work right((
This commit is contained in:
35
adcore.h
35
adcore.h
@@ -10,33 +10,36 @@
|
||||
|
||||
class AD_Core : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AD_Core(QObject *parent = 0);
|
||||
Game_Data * addata;
|
||||
Towers * adtowers;
|
||||
Splashes * adsplashes;
|
||||
long int step;
|
||||
explicit AD_Core(QObject *parent = 0);
|
||||
Game_Data * addata;
|
||||
Towers * adtowers;
|
||||
Splashes * adsplashes;
|
||||
long int step;
|
||||
|
||||
void setScene(QGraphicsScene * scene);
|
||||
bool isWaveEnd() {return waveEnd;}
|
||||
void setScene(QGraphicsScene * scene);
|
||||
bool isWaveEnd() {return waveEnd;}
|
||||
void setSpeed(float x);
|
||||
|
||||
public slots:
|
||||
void next();
|
||||
void nextWave();
|
||||
void next();
|
||||
void nextWave();
|
||||
|
||||
private:
|
||||
void timerEvent(QTimerEvent * );
|
||||
void waveProcessing();
|
||||
void timerEvent(QTimerEvent * );
|
||||
void waveProcessing();
|
||||
|
||||
bool waveInProgress;
|
||||
bool waveEnd;
|
||||
int wavetime;
|
||||
bool waveInProgress;
|
||||
bool waveEnd;
|
||||
int wavetime;
|
||||
int timer;
|
||||
|
||||
private slots:
|
||||
void killAlien(int playerId, int alienId);
|
||||
void killAlien(int playerId, int alienId);
|
||||
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // ADCORE_H
|
||||
|
||||
Reference in New Issue
Block a user