insertAnimation

Inserts an animation into the specified slot in the animations array.

Return

true if the animation was successfully inserted, false if the index is out of bounds or the animation is null

Parameters

height

the height where the animation should be inserted (0-9)

animation

the AnimationBase object to insert into the array