mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
23 lines
700 B
Dart
23 lines
700 B
Dart
import 'package:dashbook/dashbook.dart';
|
|
import 'package:flame/game.dart';
|
|
|
|
import '../../commons/commons.dart';
|
|
import 'camera_follow_and_world_bounds.dart';
|
|
import 'shapes.dart';
|
|
|
|
void addExperimentalStories(Dashbook dashbook) {
|
|
dashbook.storiesOf('Experimental')
|
|
..add(
|
|
'Shapes',
|
|
(_) => GameWidget(game: ShapesExample()),
|
|
codeLink: baseLink('experimental/shapes.dart'),
|
|
info: ShapesExample.description,
|
|
)
|
|
..add(
|
|
'Follow and World bounds',
|
|
(_) => GameWidget(game: CameraFollowAndWorldBoundsExample()),
|
|
codeLink: baseLink('experimental/camera_follow_and_world_bounds.dart'),
|
|
info: CameraFollowAndWorldBoundsExample.description,
|
|
);
|
|
}
|