changes in arhitecture, some improvments, much optimising and simplify,
many bagfixes and new graphics engine
This commit is contained in:
6
towers.h
6
towers.h
@@ -11,12 +11,16 @@ public:
|
||||
bool addTower(int playerId, int srcId, QPoint pos);
|
||||
void delTower(QPoint pos);
|
||||
void update();
|
||||
void setScene(QGraphicsScene * scene_) {scene = scene_;}
|
||||
|
||||
signals:
|
||||
void shot(QPoint towerId);
|
||||
void shot(const TowerType &tow);
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
Game_Data * gameData;
|
||||
QGraphicsScene * scene;
|
||||
};
|
||||
|
||||
#endif // TOWERS_H
|
||||
|
||||
Reference in New Issue
Block a user