summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index 59a612cbb..75dba70b9 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -46,6 +46,8 @@ class MapRowVertexes final
images.reserve(30);
}
+ A_DELETE_COPY(MapRowVertexes);
+
~MapRowVertexes();
MepRowImages images;
@@ -66,6 +68,11 @@ class MapObject final
class MapObjectList final
{
public:
+ MapObjectList()
+ { }
+
+ A_DELETE_COPY(MapObjectList);
+
std::vector<MapObject> objects;
};
@@ -86,6 +93,8 @@ class MapLayer final: public ConfigListener
MapLayer(const int x, const int y, const int width, const int height,
const bool isFringeLayer);
+ A_DELETE_COPY(MapLayer);
+
/**
* Destructor.
*/
@@ -189,6 +198,8 @@ class SpecialLayer final
SpecialLayer(const int width, const int height,
const bool drawSprites = false);
+ A_DELETE_COPY(SpecialLayer);
+
~SpecialLayer();
void draw(Graphics *const graphics, int startX, int startY,
@@ -248,6 +259,8 @@ class MapItem final
MapItem(const int type, std::string comment, const int x, const int y);
+ A_DELETE_COPY(MapItem);
+
~MapItem();
int getType() const
@@ -292,6 +305,8 @@ class ObjectsLayer final
public:
ObjectsLayer(const unsigned width, const unsigned height);
+ A_DELETE_COPY(ObjectsLayer);
+
~ObjectsLayer();
void addObject(std::string name, const int type,