fixed few critical bugs
This commit is contained in:
29
adcore.h
29
adcore.h
@@ -12,28 +12,29 @@ class AD_Core : public QThread
|
||||
{
|
||||
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);
|
||||
void setScene(QGraphicsScene * scene);
|
||||
bool isWaveEnd() {return waveEnd;}
|
||||
|
||||
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;
|
||||
|
||||
private slots:
|
||||
void killAlien(int playerId, int alienId);
|
||||
void killAlien(int playerId, int alienId);
|
||||
|
||||
signals:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user