SnakeTile.h 388 Bytes
Newer Older
1 2 3 4
#pragma once

#include "Wima/Geometry/WimaAreaData.h"

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

Valentin Platzgummer's avatar
Valentin Platzgummer committed
10 11
  QString type() const { return "Tile"; }
  SnakeTile *Clone() const { return new SnakeTile(*this); }
12

Valentin Platzgummer's avatar
Valentin Platzgummer committed
13
  SnakeTile &operator=(const SnakeTile &other);
14 15

protected:
Valentin Platzgummer's avatar
Valentin Platzgummer committed
16
  void assign(const SnakeTile &other);
17
};