fix bug in del tower and some ui changes
This commit is contained in:
@@ -23,8 +23,8 @@ public:
|
||||
public slots:
|
||||
void selectTower(ADItem * item) {select_tow = item;}
|
||||
void setBuilding(bool arg) {m_building = arg;}
|
||||
void alienKilled(int id) {if (select_al != 0) if (select_al->id() == id) select_al = 0;}
|
||||
void towerKilled(QPoint id) {if (select_tow != 0) if (select_tow->tid() == id) {select_tow = 0; emit selected_tower_changed(QPoint());}}
|
||||
void alienKilled(int id);
|
||||
void towerKilled(QPoint id) {focus_item = 0; if (select_tow != 0) if (select_tow->tid() == id) {select_tow = 0; emit selected_tower_changed(QPoint());}}
|
||||
|
||||
private:
|
||||
void drawBackground(QPainter * p, const QRectF &);
|
||||
|
||||
Reference in New Issue
Block a user