mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	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:
		| @ -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; | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Lukas Klingsbo
					Lukas Klingsbo