hm.... new global restruct... i think it last!

This commit is contained in:
2010-07-28 23:07:42 +04:00
parent 52a5384e6f
commit 2869e716b3
32 changed files with 721 additions and 1375 deletions

30
game_data.h Normal file
View File

@@ -0,0 +1,30 @@
#ifndef GAME_DATA_H
#define GAME_DATA_H
#include <QObject>
#include "map.h"
class Game_Data : public QObject
{
Q_OBJECT
public:
explicit Game_Data(Map * map, QObject *parent = 0);
QVector <Alien> srcAliens;
QVector <Alien> curAliens;
QVector <Tower> srcTowers;
QVector <Tower> curTowers;
QVector <Splash> srcSplashes;
QVector <Splash> curSplashes;
QVector <wave> waves;
Map * map;
unsigned long int adMoney;
int selectAlienId;
int curWave;
signals:
public slots:
};
#endif // GAME_DATA_H