docs: PulleyJoint documentation and example (#2425)

PulleyJoint documentation and example
This commit is contained in:
Eugene Kleshnin
2023-03-24 15:50:34 +00:00
committed by GitHub
parent 4ff25ffb1f
commit e1049470fa
7 changed files with 221 additions and 11 deletions

View File

@ -11,6 +11,7 @@ import 'package:examples/stories/bridge_libraries/forge2d/joints/distance_joint.
import 'package:examples/stories/bridge_libraries/forge2d/joints/friction_joint.dart';
import 'package:examples/stories/bridge_libraries/forge2d/joints/motor_joint.dart';
import 'package:examples/stories/bridge_libraries/forge2d/joints/mouse_joint.dart';
import 'package:examples/stories/bridge_libraries/forge2d/joints/pulley_joint.dart';
import 'package:examples/stories/camera_and_viewport/camera_and_viewport.dart';
import 'package:examples/stories/collision_detection/collision_detection.dart';
import 'package:examples/stories/components/components.dart';
@ -39,6 +40,7 @@ void main() {
'friction_joint': FrictionJointExample.new,
'motor_joint': MotorJointExample.new,
'mouse_joint': MouseJointExample.new,
'pulley_joint': PulleyJointExample.new,
};
final game = routes[page]?.call();
if (game != null) {