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

27
splashes.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef SPLASHES_H
#define SPLASHES_H
#include <QObject>
#include "game_data.h"
class Splashes : public QObject
{
Q_OBJECT
public:
explicit Splashes(Game_Data * gamedata, QObject *parent = 0);
void AddSplash(int srcId);
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