From 1b0775cd511faaebfc598afd17ca0030c1de4542 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Thu, 17 Mar 2022 10:33:36 +0100 Subject: [PATCH] chore: doc and comments --- lib/game/components/layer.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/game/components/layer.dart b/lib/game/components/layer.dart index fc84746c..3a84ea1a 100644 --- a/lib/game/components/layer.dart +++ b/lib/game/components/layer.dart @@ -87,10 +87,7 @@ abstract class RampOpening extends BodyComponent { Layer? openingLayer, }) : _position = position, _pathwayLayer = pathwayLayer, - _openingLayer = openingLayer ?? Layer.board { - // TODO(ruialonso): remove paint color for BodyComponent. - // Left white for dev and testing. - } + _openingLayer = openingLayer ?? Layer.board; final Vector2 _position; final Layer _openingLayer; @@ -106,6 +103,8 @@ abstract class RampOpening extends BodyComponent { Shape get shape; /// Orientation of the [RampOpening] entrance/exit + // TODO(ruimiguel): Try to remove the need of [RampOrientation] for collision + // calculations. RampOrientation get orientation; @override