hm.... new global restruct... i think it last!
This commit is contained in:
27
splashes.h
Normal file
27
splashes.h
Normal 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
|
||||
Reference in New Issue
Block a user