Flip Animation
fun <T : GameComponentView> FlipAnimation( gameComponentView: T, fromVisual: Visual, toVisual: Visual, duration: Int = DEFAULT_ANIMATION_SPEED)
Content copied to clipboard
Creates a FlipAnimation for the given GameComponentView.
Parameters
T
Generic GameComponentView.
game Component View
GameComponentView to animate.
duration
Duration in milliseconds. Default: DEFAULT_ANIMATION_SPEED.