Update lib/game/components/plunger.dart

Co-authored-by: Alejandro Santiago <dev@alestiago.com>
pull/43/head
Allison Ryan 4 years ago committed by GitHub
parent 0c3526cc71
commit c6bcd2bd21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,8 +75,8 @@ class Plunger extends BodyComponent with KeyboardHandler {
return true;
}
/// Anchors the [Plunger] to the [PrismaticJoint]
/// that controls its vertical motion.
/// Anchors the [Plunger] to the [PrismaticJoint] that controls its vertical
/// motion.
Future<void> _anchorToJoint() async {
final anchor = PlungerAnchor(plunger: this);
await add(anchor);

Loading…
Cancel
Save