SnakeTile.cpp 598 Bytes
Newer Older
1 2
#include "SnakeTile.h"

3
SnakeTile::SnakeTile(QObject *parent) : GeoArea(parent) { init(); }
4 5

SnakeTile::SnakeTile(const SnakeTile &other, QObject *parent)
6 7
    : GeoArea(other, parent) {
  init();
8 9 10 11
}

SnakeTile::~SnakeTile() {}

12
QString SnakeTile::mapVisualQML() const { return QStringLiteral(""); }
13

14
QString SnakeTile::editorQML() const { return QStringLiteral(""); }
15

16 17
SnakeTile *SnakeTile::clone(QObject *parent) const {
  return new SnakeTile(*this, parent);
18
}
19 20

void SnakeTile::push_back(const QGeoCoordinate &c) { this->appendVertex(c); }
21 22

void SnakeTile::init() { this->setObjectName("Tile"); }