mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 08:56:01 +08:00 
			
		
		
		
	 91864d0b88
			
		
	
	91864d0b88
	
	
	
		
			
			* Making velocities and deltas have the game and global values * Re adding code metircs * Re adding code metircs * Update packages/flame/lib/src/gestures/events.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> * Renaming example variable * fixing example * Linting Co-authored-by: Luan Nico <luanpotter27@gmail.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			846 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			846 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:dashbook/dashbook.dart';
 | |
| import 'package:flame/game.dart';
 | |
| 
 | |
| import '../../commons/commons.dart';
 | |
| import 'nine_tile_box.dart';
 | |
| import 'particles.dart';
 | |
| import 'timer.dart';
 | |
| import 'timer_component.dart';
 | |
| 
 | |
| void addUtilsStories(Dashbook dashbook) {
 | |
|   dashbook.storiesOf('Utils')
 | |
|     ..add(
 | |
|       'Nine Tile Box',
 | |
|       (_) => GameWidget(game: NineTileBoxGame()),
 | |
|       codeLink: baseLink('utils/nine_tile_box.dart'),
 | |
|     )
 | |
|     ..add(
 | |
|       'Timer',
 | |
|       (_) => GameWidget(game: TimerGame()),
 | |
|       codeLink: baseLink('utils/timer.dart'),
 | |
|     )
 | |
|     ..add(
 | |
|       'Timer Component',
 | |
|       (_) => GameWidget(game: TimerComponentGame()),
 | |
|       codeLink: baseLink('utils/timer_component.dart'),
 | |
|     )
 | |
|     ..add(
 | |
|       'Particles',
 | |
|       (_) => GameWidget(game: ParticlesGame()),
 | |
|       codeLink: baseLink('utils/particles.dart'),
 | |
|     );
 | |
| }
 |