#ifndef ADCORE_H #define ADCORE_H #include #include "aliens.h" #include "towers.h" #include "splashes.h" #include "loader.h" class AD_Core : public QThread { Q_OBJECT public: explicit AD_Core(QObject *parent = 0); Game_Data * addata; Aliens * adaliens; Towers * adtowers; Splashes * adsplashes; Loader * adloader; unsigned int step; private: void timerEvent(QTimerEvent * ); void waveProcessing(); bool waveInProgress; int wavetime; public slots: void next(); void nextWave(); //void addTower(QPoint pos) {adtowers->addTower(0, 0, pos);}; signals: }; #endif // ADCORE_H