From a499885dafb235b7df5ba07d2ee16da43fec61da Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Fri, 4 Mar 2022 12:02:16 +0000 Subject: [PATCH] docs: improved Anchor doc comment --- lib/game/components/anchor.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/game/components/anchor.dart b/lib/game/components/anchor.dart index 9ea79855..41929284 100644 --- a/lib/game/components/anchor.dart +++ b/lib/game/components/anchor.dart @@ -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].