chore: Remove deprecations for v1.9.0 (#2749)

Removes everything that was marked as deprecated and that should be
removed for v1.9.0.
This commit is contained in:
Lukas Klingsbo
2023-09-19 16:47:41 +02:00
committed by GitHub
parent 7c2f400076
commit 9c1e1c3098
101 changed files with 238 additions and 287 deletions

View File

@ -21,7 +21,7 @@ class PriorityExample extends FlameGame {
}
class Square extends RectangleComponent
with HasGameRef<PriorityExample>, TapCallbacks {
with HasGameReference<PriorityExample>, TapCallbacks {
Square(Vector2 position)
: super(
position: position,
@ -31,7 +31,7 @@ class Square extends RectangleComponent
@override
void onTapDown(TapDownEvent event) {
final topComponent = gameRef.children.last;
final topComponent = game.children.last;
if (topComponent != this) {
priority = topComponent.priority + 1;
}