correct core module with new types
This commit is contained in:
12
splashes.h
12
splashes.h
@@ -1,8 +1,6 @@
|
||||
#ifndef SPLASHES_H
|
||||
#define SPLASHES_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "game_data.h"
|
||||
|
||||
class Splashes : public QObject
|
||||
@@ -10,19 +8,17 @@ 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);
|
||||
bool AddSplash(int srcId, QPointF pos);
|
||||
void DelSplash(int Id);
|
||||
void update();
|
||||
int size() const {return gameData->curSplashes.size();}
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void AddSplash(srcSplashType src, int index, TowerType tw);
|
||||
|
||||
private:
|
||||
Game_Data *gameData;
|
||||
int nextId;
|
||||
};
|
||||
|
||||
#endif // SPLASHES_H
|
||||
|
||||
Reference in New Issue
Block a user