FlipBookPageBuilder

class FlipBookPageBuilder(val appearance: WithAppearance?, val seconds: Float)

FlipBookPage is immutable, so all attributes must be passed to the constructor, which is very awkward. This makes it much more pleasant.

Constructors

Link copied to clipboard
constructor(appearance: WithAppearance?, seconds: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var progress: (Actor, Float) -> Unit?
Link copied to clipboard
Link copied to clipboard
var tick: (Actor, Float) -> Unit?

Functions

Link copied to clipboard
fun onPageFinished(block: (Actor) -> Unit)
Link copied to clipboard
fun onPageStarted(block: (Actor) -> Unit)
Link copied to clipboard
fun progress(block: (Actor, Float) -> Unit)
Link copied to clipboard
fun tick(block: (Actor, Float) -> Unit)