OptionalanimationSettings: AnimationManagerSettingsProtectedaddApply the DisplayElementAnimationSettings to the displayElement.
OptionalanimationSettings: DisplayElementAnimationSettingsAdd a floating element over another element.
OptionalanimationSettings: FloatingElementAnimationSettingsIndicates if animations should be run, based on constructor animationSettings.
Add a floating text speach bubble over another element.
OptionalanimationSettings: DisplayElementAnimationSettingsAdd a floating message over another element.
OptionalanimationSettings: DisplayElementAnimationSettingsAdd a floating number over another element. It will be prefixed by '+' if positive, and '-' if negative.
OptionalanimationSettings: DisplayElementAnimationSettingsFade an object in. The object must be attached to the destination before.
OptionalfromElement: HTMLElementOptionalanimationSettings: FloatingElementAnimationSettingsFade out an object and destroy it. It call be called with a toElement, in that case a slide animation will be triggered.
OptionaltoElement: HTMLElementOptionalanimationSettings: FloatingElementAnimationSettingsProtectedgetReturns a completed and valid DisplayElementAnimationSettings with default values set.
OptionalanimationSettings: DisplayElementAnimationSettingsOptionaldefaultAnimation: ParallelAnimationPlay multiple animations with a fixed interval between each animation.
functions generating an animation, returning a Promise.
promise when all animations ends
Play multiple animations a the same time.
functions generating an animation, returning a Promise.
promise when all animations ends
Play multiple animations one after the other.
functions generating an animation, returning a Promise.
promise when all animations ends
Play a list of animations then attach to an element.
OptionalanimationSettings: SequenceAnimationsSettings | SequenceAnimationsSettings[]OptionalinsertBefore: HTMLElementSlide an object to an element.
OptionalanimationSettings: SlideAnimationSettingsOptionalinsertBefore: HTMLElementAdd a floating element over another element.
OptionalanimationSettings: FloatingElementAnimationSettingsSlide an object in. The object must be attached to the destination before.
OptionalfromElement: HTMLElementOptionalanimationSettings: FloatingElementAnimationSettingsSlide an object in. The object must be attached to the destination before.
OptionalanimationSettings: FloatingElementAnimationSettingsslide out an object and destroy it. It call be called with a toElement, in that case a slide animation will be triggered.
OptionaltoElement: HTMLElementOptionalanimationSettings: FloatingElementAnimationSettingsSlide an object over an intermediate element then attach to an element.
OptionalanimationSettings: SequenceAnimationsSettings | SequenceAnimationsSettings[]OptionalinsertBefore: HTMLElementSlide an object to the screen center then an element.
OptionalanimationSettings: SequenceAnimationsSettings | SequenceAnimationsSettings[]OptionalinsertBefore: HTMLElementSwap two elements.
OptionalanimationSettings: SlideAnimationSettings
The animation class, giving access to many type of animations, and the possibility to run multiple animation with a delta or sync/async. Instanciate only one for all your game animations.