summaryrefslogtreecommitdiff
path: root/src/map.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/map.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/map.h')
-rw-r--r--src/map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map.h b/src/map.h
index b90cbc2a7..c48ae6f95 100644
--- a/src/map.h
+++ b/src/map.h
@@ -56,7 +56,7 @@ typedef AmbientLayerVector::const_iterator AmbientLayerVectorCIter;
* This is information that doesn't need to be repeated for each tile in each
* layer of the map.
*/
-struct MetaTile
+struct MetaTile final
{
/**
* Constructor.
@@ -78,7 +78,7 @@ struct MetaTile
/**
* Animation cycle of a tile image which changes the map accordingly.
*/
-class TileAnimation
+class TileAnimation final
{
public:
TileAnimation(Animation *const ani);
@@ -102,7 +102,7 @@ typedef TileAnimationMap::const_iterator TileAnimationMapCIter;
/**
* A tile map.
*/
-class Map : public Properties, public ConfigListener
+class Map final : public Properties, public ConfigListener
{
public:
enum BlockType