summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/maplayer.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index fa6bd3e15..1042b2a87 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -37,7 +37,7 @@ class ImageVertexes;
typedef std::vector<ImageVertexes*> MepRowImages;
-class MapRowVertexes
+class MapRowVertexes final
{
public:
MapRowVertexes()
@@ -50,7 +50,7 @@ class MapRowVertexes
MepRowImages images;
};
-class MapObject
+class MapObject final
{
public:
MapObject(const int type0, const std::string &data0) :
@@ -62,7 +62,7 @@ class MapObject
std::string data;
};
-class MapObjectList
+class MapObjectList final
{
public:
std::vector<MapObject> objects;
@@ -72,7 +72,7 @@ class MapObjectList
* A map layer. Stores a grid of tiles and their offset, and implements layer
* rendering.
*/
-class MapLayer: public ConfigListener
+class MapLayer final: public ConfigListener
{
public:
friend class Map;
@@ -177,7 +177,7 @@ class MapLayer: public ConfigListener
MapRows mTempRows;
};
-class SpecialLayer
+class SpecialLayer final
{
public:
friend class Map;
@@ -211,7 +211,7 @@ class SpecialLayer
MapItem **mTiles;
};
-class MapItem
+class MapItem final
{
public:
friend class Map;
@@ -284,7 +284,7 @@ class MapItem
int mY;
};
-class ObjectsLayer
+class ObjectsLayer final
{
public:
ObjectsLayer(const unsigned width, const unsigned height);