mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	Make gameRef late (#742)
This commit is contained in:
		| @ -1,7 +1,7 @@ | ||||
| import 'package:flame/components.dart'; | ||||
| import 'package:flame/game.dart'; | ||||
|  | ||||
| class Square extends PositionComponent with HasGameRef<Composability> { | ||||
| class Square extends PositionComponent { | ||||
|   Square(Vector2 position, Vector2 size, {double angle = 0}) { | ||||
|     this.position.setFrom(position); | ||||
|     this.size.setFrom(size); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Luan Nico
					Luan Nico