mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
21 lines
519 B
Dart
21 lines
519 B
Dart
import 'package:dashbook/dashbook.dart';
|
|
import 'package:flame/game.dart';
|
|
|
|
import '../../commons/commons.dart';
|
|
import 'aseprite.dart';
|
|
import 'basic.dart';
|
|
|
|
void addAnimationStories(Dashbook dashbook) {
|
|
dashbook.storiesOf('Animations')
|
|
..add(
|
|
'Basic Animations',
|
|
(_) => GameWidget(game: BasicAnimations()),
|
|
codeLink: baseLink('animations/basic.dart'),
|
|
)
|
|
..add(
|
|
'Aseprite',
|
|
(_) => GameWidget(game: Aseprite()),
|
|
codeLink: baseLink('animations/aseprite.dart'),
|
|
);
|
|
}
|