Files
Lukas Klingsbo 7c2f400076 feat!: Add CameraComponent to FlameGame (#2740)
This PR adds the `CameraComponent` and a `World` by default to the
FlameGame.
2023-09-18 21:06:37 +02:00

14 lines
439 B
Dart

import 'package:dashbook/dashbook.dart';
import 'package:examples/commons/commons.dart';
import 'package:examples/stories/structure/levels.dart';
import 'package:flame/game.dart';
void addStructureStories(Dashbook dashbook) {
dashbook.storiesOf('Structure').add(
'Levels',
(_) => GameWidget(game: LevelsExample()),
info: LevelsExample.description,
codeLink: baseLink('structure/levels.dart'),
);
}