feat: Bump to Flutter 2.10.0 (#1617)

This commit is contained in:
Lukas Klingsbo
2022-05-13 12:50:08 +02:00
committed by GitHub
parent c3bb14b7ca
commit beac901313
62 changed files with 107 additions and 102 deletions

View File

@ -26,9 +26,9 @@ class ExampleGame extends OxygenGame {
world.registerSystem(SpriteSystem());
world.registerSystem(KawabungaSystem());
world.registerComponent<TimerComponent, double>(() => TimerComponent());
world.registerComponent<TimerComponent, double>(TimerComponent.new);
world.registerComponent<VelocityComponent, Vector2>(
() => VelocityComponent(),
VelocityComponent.new,
);
final random = Random();