diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:16:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:26:49 +0300 |
commit | 6afd82349bca7e8f5580057e3c1b9133e51c60c2 (patch) | |
tree | 29795086a6569debbc78fab59820ea51002a1329 /src/resources/animation/animation.cpp | |
parent | cc78eca07666eec99f1a09d809568970e968b52d (diff) | |
download | manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.gz manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.bz2 manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.xz manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.zip |
Add name into Animation memory object.
Diffstat (limited to 'src/resources/animation/animation.cpp')
-rw-r--r-- | src/resources/animation/animation.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/animation/animation.cpp b/src/resources/animation/animation.cpp index 5af1f7dbb..e505bc215 100644 --- a/src/resources/animation/animation.cpp +++ b/src/resources/animation/animation.cpp @@ -26,6 +26,14 @@ Animation::Animation() noexcept : mFrames(), + mName("animation"), + mDuration(0) +{ +} + +Animation::Animation(const std::string &name) noexcept : + mFrames(), + mName(name), mDuration(0) { } |