[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / src / animation / blend_state.cpp
1 #include "animation/blend_state.hpp"
2
3 using namespace rive;
4
5 void BlendState::addAnimation(BlendAnimation* animation)
6 {
7         // Assert it's not already contained.
8         assert(std::find(m_Animations.begin(), m_Animations.end(), animation) ==
9                m_Animations.end());
10         m_Animations.push_back(animation);
11 }