mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-30 16:36:57 +08:00
* 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,
|
|
);
|
|
}
|