mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 17:06:50 +08:00 
			
		
		
		
	 b8ea25eceb
			
		
	
	b8ea25eceb
	
	
	
		
			
			* Fixing Flame pause and resume engine features * Update packages/flame/lib/src/game/mixins/game.dart * Apply suggestions from code review Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com> * Update doc/game.md * Update doc/game.md Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			413 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			413 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:dashbook/dashbook.dart';
 | |
| import 'package:flame/game.dart';
 | |
| 
 | |
| import '../../commons/commons.dart';
 | |
| import 'pause_resume_game.dart';
 | |
| 
 | |
| void addSystemStories(Dashbook dashbook) {
 | |
|   dashbook.storiesOf('System')
 | |
|     ..add(
 | |
|       'Pause/resume engine',
 | |
|       (_) => GameWidget(game: PauseResumeGame()),
 | |
|       codeLink: baseLink('system/pause_resume_game.dart'),
 | |
|       info: PauseResumeGame.info,
 | |
|     );
 | |
| }
 |