summaryrefslogtreecommitdiff
path: root/src/resources/animation.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-23 19:52:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-23 19:52:08 +0300
commit6d28f4d48f5cb3462765c7a1d582cea49352be1f (patch)
tree797671acb4cfbe9f5510e8d9769742f17d7a9b2c /src/resources/animation.h
parentecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (diff)
downloadmv-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.gz
mv-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.bz2
mv-6d28f4d48f5cb3462765c7a1d582cea49352be1f.tar.xz
mv-6d28f4d48f5cb3462765c7a1d582cea49352be1f.zip
Add missing final keywords to classes.
Diffstat (limited to 'src/resources/animation.h')
-rw-r--r--src/resources/animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation.h b/src/resources/animation.h
index ab2d83c4c..ad4b1b187 100644
--- a/src/resources/animation.h
+++ b/src/resources/animation.h
@@ -31,7 +31,7 @@ class Image;
/**
* A single frame in an animation, with a delay and an offset.
*/
-struct Frame
+struct Frame final
{
enum FrameType
{
@@ -54,7 +54,7 @@ struct Frame
* An animation consists of several frames, each with their own delay and
* offset.
*/
-class Animation
+class Animation final
{
friend class AnimatedSprite;
friend class ParticleEmitter;