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,