Tilemap: Make Autotiles con/destructor private

This commit is contained in:
Jonas Kulla 2014-08-15 14:01:04 +02:00
parent 4742226e7c
commit 3717609142
1 changed files with 4 additions and 0 deletions

View File

@ -42,8 +42,12 @@ public:
Bitmap *get(int i) const;
private:
Autotiles() {}
~Autotiles() {}
TilemapPrivate *p;
friend class Tilemap;
friend struct TilemapPrivate;
};
Tilemap(Viewport *viewport = 0);