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

Valentin Platzgummer's avatar
Valentin Platzgummer committed
3
SnakeTile::SnakeTile(QObject *parent) : WimaAreaData(parent) {}
4

Valentin Platzgummer's avatar
Valentin Platzgummer committed
5 6 7
SnakeTile::SnakeTile(const SnakeTile &other, QObject *parent)
    : WimaAreaData(parent) {
  *this = other;
8 9
}

Valentin Platzgummer's avatar
Valentin Platzgummer committed
10 11 12
SnakeTile &SnakeTile::operator=(const SnakeTile &other) {
  this->assign(other);
  return *this;
13 14
}

Valentin Platzgummer's avatar
Valentin Platzgummer committed
15
void SnakeTile::assign(const SnakeTile &other) { WimaAreaData::assign(other); }