mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
feat(collision detection)!: Use a broadphase to make collision detection more efficient (#1252)
This commit is contained in:
@ -5,7 +5,6 @@ import '../../commons/commons.dart';
|
||||
import 'circles_example.dart';
|
||||
import 'collidable_animation_example.dart';
|
||||
import 'multiple_shapes_example.dart';
|
||||
import 'simple_shapes_example.dart';
|
||||
|
||||
void addCollisionDetectionStories(Dashbook dashbook) {
|
||||
dashbook.storiesOf('Collision Detection')
|
||||
@ -27,11 +26,5 @@ void addCollisionDetectionStories(Dashbook dashbook) {
|
||||
(_) => GameWidget(game: MultipleShapesExample()),
|
||||
codeLink: baseLink('collision_detection/multiple_shapes_example.dart'),
|
||||
info: MultipleShapesExample.description,
|
||||
)
|
||||
..add(
|
||||
'Simple Shapes',
|
||||
(_) => GameWidget(game: SimpleShapesExample()),
|
||||
codeLink: baseLink('collision_detection/simple_shapes_example.dart'),
|
||||
info: SimpleShapesExample.description,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user