Skip to content

Commit

Permalink
docs: Fixed broken example links (flame-engine#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrotideysarkar committed Oct 6, 2022
1 parent bc2db2b commit 475b226
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/lib/stories/animations/animations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void addAnimationStories(Dashbook dashbook) {
..add(
'Group animation',
(_) => GameWidget(game: AnimationGroupExample()),
codeLink: baseLink('animations/aseprite_example.dart'),
codeLink: baseLink('animations/animation_group_example.dart'),
info: AnimationGroupExample.description,
)
..add(
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/stories/bridge_libraries/audio/audio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void addAudioStories(Dashbook dashbook) {
dashbook.storiesOf('Audio').add(
'Basic Audio',
(_) => GameWidget(game: BasicAudioExample()),
codeLink: baseLink('audio/basic_audio_example.dart'),
codeLink: baseLink('bridge_libraries/audio/basic_audio_example.dart'),
info: BasicAudioExample.description,
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void addCollisionDetectionStories(Dashbook dashbook) {
..add(
'Raytracing',
(_) => GameWidget(game: RaytraceExample()),
codeLink: baseLink('collision_detection/raytrace.dart'),
codeLink: baseLink('collision_detection/raytrace_example.dart'),
info: RaytraceExample.description,
);
}
2 changes: 1 addition & 1 deletion examples/lib/stories/input/input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void addInputStories(Dashbook dashbook) {
..add(
'Gesture Hitboxes',
(_) => GameWidget(game: GestureHitboxesExample()),
codeLink: baseLink('collision_detection/simple_shapes_example.dart'),
codeLink: baseLink('input/gesture_hitboxes_example.dart'),
info: GestureHitboxesExample.description,
)
..add(
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/stories/tiled/tiled.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void addTiledStories(Dashbook dashbook) {
dashbook.storiesOf('Tiled').add(
'Flame Tiled Animation',
(_) => GameWidget(game: FlameTiledAnimationExample()),
codeLink: baseLink('effects/flame_tiled_animation_example.dart'),
codeLink: baseLink('tiled/flame_tiled_animation_example.dart'),
info: FlameTiledAnimationExample.description,
);
}

0 comments on commit 475b226

Please sign in to comment.