correct core module with new types
This commit is contained in:
10
map.h
10
map.h
@@ -1,15 +1,7 @@
|
||||
#ifndef MAP_H
|
||||
#define MAP_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QSize>
|
||||
#include <QList>
|
||||
#include <QPointF>
|
||||
#include <QRect>
|
||||
#include <QFile>
|
||||
|
||||
#include "base_types.h"
|
||||
#include "settreader.h"
|
||||
|
||||
// Maximum map is 65530 x 65530 because qHash may be repeat and towers has same Id
|
||||
|
||||
@@ -44,7 +36,7 @@ public:
|
||||
void delTowerOnMap(QPoint pos);
|
||||
void removeAliensPath();
|
||||
QVector <QPointF> CreatePath(QPoint start, QPoint finish);
|
||||
// QSize size() const {return mapsize;}
|
||||
QRect Rect() const {return QRect(QPoint(),mapSize);}
|
||||
// QString name() const {return mapName;}
|
||||
QList <QPoint> Starts() const {return starts;}
|
||||
QList <QPoint> Finishs() const {return finishs;}
|
||||
|
||||
Reference in New Issue
Block a user