fuseUpdate function

void fuseUpdate(
  1. FuseUpdateFn fn
)

Calls function fn on every Flame game update.

Implementation

void fuseUpdate(FuseUpdateFn fn) {
  final component = fuseComponent();
  component._updateFns.add(fn);
}