mutate<T extends Component> method
Replaces the component of type T using update.
Implementation
Option<T> mutate<T extends Component>(T Function(T current) update) =>
world.mutate<T>(this, update);
Replaces the component of type T using update.
Option<T> mutate<T extends Component>(T Function(T current) update) =>
world.mutate<T>(this, update);