Core is realy wait for work and test
Aliens create, wavetrace work, towers build, aliens move - thats all by now. I think it is time to write Graphic and Network modules.
This commit is contained in:
6
towers.h
6
towers.h
@@ -10,9 +10,11 @@ class Towers : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Towers(Game_Data * gd, QObject *parent = 0);
|
||||
void AddTower(int srcId);
|
||||
bool AddTower(int playerId, int srcId, QPoint pos);
|
||||
void DelTowerById(int Id);
|
||||
void DelTowerByPos(QPoint pos);
|
||||
void DelTower(int index);
|
||||
int TowerIndex(int towerId);
|
||||
void update();
|
||||
int size() const {return gameData->curTowers.size();}
|
||||
signals:
|
||||
@@ -21,6 +23,8 @@ public slots:
|
||||
|
||||
private:
|
||||
Game_Data * gameData;
|
||||
|
||||
int nextId;
|
||||
};
|
||||
|
||||
#endif // TOWERS_H
|
||||
|
||||
Reference in New Issue
Block a user