update

fun update(dt: Duration)

Runs any updates for any requested animation and grabs the next frame if so.