Files
aliendefender/splashes.h
buull 191e5ed1a1 I think finished structures
and some changes in loading
and changes in map class
we have 2 TODO now
2010-08-22 21:55:29 +03:00

29 lines
480 B
C++

#ifndef SPLASHES_H
#define SPLASHES_H
#include <QObject>
#include "game_data.h"
class Splashes : public QObject
{
Q_OBJECT
public:
explicit Splashes(Game_Data * gd, QObject *parent = 0);
void AddSplash(int srcId);
void AddSplash(srcSplashType src,TowerType tw);
void DelSplashById(int Id);
void DelSplash(int index);
void update();
int size() const {return gameData->curSplashes.size();}
signals:
public slots:
private:
Game_Data *gameData;
};
#endif // SPLASHES_H