Files
aliendefender/game_data.h

38 lines
751 B
C++

#ifndef GAME_DATA_H
#define GAME_DATA_H
#include "player.h"
#include "aliens.h"
#include "base_types.h"
#include "map.h"
#include <QGraphicsItemGroup>
class Game_Data : public QObject
{
Q_OBJECT
public:
explicit Game_Data(Map * map, QObject *parent = 0);
QList <srcSplashType> srcSplashes;
QList <srcTriggerType> srcTriggers;
QHash <int,SplashType> curSplashes;
QHash <QPoint,TowerType> curTowers;
QList <WaveType> waves;
QList <Player *> players;
QList <AnimationType> curAnimations;
AnimationType towerSelect;
AnimationType alienSelect;
QImage * blood;
QRectF bloodrect;
Map * map;
Aliens * aliens;
int curWave;
int missingAliens;
signals:
public slots:
};
#endif // GAME_DATA_H