From b823b15399c2f1960a9ebb2d3ad7a10a1684a539 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 18 Mar 2022 12:27:40 +0100 Subject: [PATCH] Update lib/game/components/layer.dart Co-authored-by: Alejandro Santiago --- lib/game/components/layer.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/game/components/layer.dart b/lib/game/components/layer.dart index acbf9394..a494fd4e 100644 --- a/lib/game/components/layer.dart +++ b/lib/game/components/layer.dart @@ -34,10 +34,12 @@ mixin Layered on BodyComponent { } } -/// Indicates the type of a layer. +/// The [Layer]s a [BodyComponent] can be in. /// -/// Each layer type is associated with a maskBits value to define possible +/// Each [Layer] is associated with a maskBits value to define possible /// collisions within that plane. +/// +/// Usually used with [Layered]. enum Layer { /// Collide with all elements. all,