mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-31 00:48:47 +08:00
21 lines
523 B
Dart
21 lines
523 B
Dart
import 'package:dashbook/dashbook.dart';
|
|
import 'package:flame/game.dart';
|
|
|
|
import '../../commons/commons.dart';
|
|
import 'composability.dart';
|
|
import 'debug.dart';
|
|
|
|
void addComponentsStories(Dashbook dashbook) {
|
|
dashbook.storiesOf('Components')
|
|
..add(
|
|
'Composability',
|
|
(_) => GameWidget(game: Composability()),
|
|
codeLink: baseLink('components/composability.dart'),
|
|
)
|
|
..add(
|
|
'Debug',
|
|
(_) => GameWidget(game: DebugGame()),
|
|
codeLink: baseLink('components/debug.dart'),
|
|
);
|
|
}
|