mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 17:06:50 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			439 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			439 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:dashbook/dashbook.dart';
 | |
| import 'package:examples/commons/commons.dart';
 | |
| import 'package:examples/stories/structure/levels.dart';
 | |
| import 'package:flame/game.dart';
 | |
| 
 | |
| void addStructureStories(Dashbook dashbook) {
 | |
|   dashbook.storiesOf('Structure').add(
 | |
|         'Levels',
 | |
|         (_) => GameWidget(game: LevelsExample()),
 | |
|         info: LevelsExample.description,
 | |
|         codeLink: baseLink('structure/levels.dart'),
 | |
|       );
 | |
| }
 | 
