summaryrefslogtreecommitdiff
path: root/src/resources/animation/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/animation/animation.cpp')
-rw-r--r--src/resources/animation/animation.cpp8
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)
{
}