mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	Fixing lint
This commit is contained in:
		| @ -58,8 +58,11 @@ class MyGame extends BaseGame { | ||||
|   Vector2 cellSize; | ||||
|   Vector2 halfCellSize; | ||||
|  | ||||
|   MyGame({Vector2 screenSize}) { | ||||
|     size = screenSize; | ||||
|   @override | ||||
|   Future<void> onLoad() async { | ||||
|     await images.load('zap.png'); | ||||
|     await images.load('boom3.png'); | ||||
|  | ||||
|     cellSize = size / gridSize; | ||||
|     halfCellSize = cellSize * .5; | ||||
|  | ||||
| @ -67,12 +70,6 @@ class MyGame extends BaseGame { | ||||
|     Timer.periodic(sceneDuration, (_) => spawnParticles()); | ||||
|   } | ||||
|  | ||||
|   @override | ||||
|   Future<void> onLoad() async { | ||||
|     await images.load('zap.png'); | ||||
|     await images.load('boom3.png'); | ||||
|   } | ||||
|  | ||||
|   /// Showcases various different uses of [Particle] | ||||
|   /// and its derivatives | ||||
|   void spawnParticles() { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Erick Zanardo
					Erick Zanardo