fixed few critical bugs

This commit is contained in:
2011-08-20 10:12:16 +04:00
committed by unknown
parent f3d0ca7101
commit fa68b5a120
9 changed files with 1027 additions and 907 deletions

View File

@@ -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:
};