addAnimation

abstract fun addAnimation(identifier: String, animation: Animation<T>)

Adds the animation

Parameters

identifier

unique identifier to map the animation to

animation

the animation