summaryrefslogtreecommitdiff
path: root/src/animationparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 12:55:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 12:55:31 +0300
commit5f97d3fd31bb5a17037610342ea09c21da9c47d3 (patch)
treead32a4c8835c6b9273414e3b412c44e41270e708 /src/animationparticle.cpp
parentda457cf152d5aff51d859c18d3668682348dbf7a (diff)
downloadplus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.gz
plus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.bz2
plus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.xz
plus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.zip
change vars and methods to const.
Diffstat (limited to 'src/animationparticle.cpp')
-rw-r--r--src/animationparticle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/animationparticle.cpp b/src/animationparticle.cpp
index c1bf251af..6943cab57 100644
--- a/src/animationparticle.cpp
+++ b/src/animationparticle.cpp
@@ -27,13 +27,15 @@
#include "debug.h"
-AnimationParticle::AnimationParticle(Map *map, Animation *animation):
+AnimationParticle::AnimationParticle(Map *const map,
+ Animation *const animation) :
ImageParticle(map, nullptr),
mAnimation(new SimpleAnimation(animation))
{
}
-AnimationParticle::AnimationParticle(Map *map, XmlNodePtr animationNode,
+AnimationParticle::AnimationParticle(Map *const map,
+ XmlNodePtr const animationNode,
const std::string& dyePalettes):
ImageParticle(map, nullptr),
mAnimation(new SimpleAnimation(animationNode, dyePalettes))