Package-level declarations

Types

Link copied to clipboard
fun interface AnimateListener

Provides an interface for listeners to animate events.

Link copied to clipboard
interface Animation

Provides an interface for animations.

Link copied to clipboard
class Laugh(val strength: Double, val oscillations: Int, val framesPerSecond: Int) : Animation

Provides an animation which has a shaking effect with a specified strength and number of oscillations. The strength should be specified within the normalised range of 0-1. The framesPerSecond specifies how many frames of the animation are displayed per second.

Link copied to clipboard
class Shake(val strengthX: Double, val strengthY: Double, val oscillations: Int, val framesPerSecond: Int) : Animation

Provides an animation which has a shaking effect with a specified strengthX, strengthY and number of oscillations. The strengthX and strengthY should be specified within the normalised range of 0-1. The framesPerSecond specifies how many frames of the animation are displayed per second.