docs: improved Anchor doc comment

pull/12/head
Alejandro Santiago 4 years ago committed by GitHub
parent 5b984b2754
commit a499885daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,8 @@
import 'package:flame_forge2d/flame_forge2d.dart';
/// {@template anchor}
/// Non visual [BodyComponent] used to hold a [BodyType.dynamic] in [Joint]s.
/// Non visual [BodyComponent] used to hold a [BodyType.dynamic] in [Joint]s
/// with this [BodyType.static].
///
/// It is recommended to [_position] the anchor first and then use the body
/// position as the anchor point when initializing a [JointDef].

Loading…
Cancel
Save