build_towers

This commit is contained in:
unknown
2010-08-31 21:29:47 +04:00
parent bbb6f9b366
commit 0e0f1cbfbb
8 changed files with 82 additions and 21 deletions

2
map.h
View File

@@ -34,7 +34,7 @@ public:
explicit Map(QByteArray data, QSize size, QString name, int maxPlayers, int image, QObject *parent = 0);
bool addTowerOnMap(int playerId, QPoint pos);
bool isFreePlace(QPoint pos);
void delTowerOnMap(QPoint pos);
void delTowerOnMap(int playerId, QPoint pos);
void removeAliensPath();
QVector <QPointF> createPath(QPoint start, QPoint finish);
QRect rect() const {return QRect(QPoint(),mapSize);}