chore: added TODO comments for priority future refactors

pull/203/head
RuiAlonso 3 years ago
parent 417416d179
commit 76302add26

@ -26,6 +26,7 @@ class _BottomBoundary extends BodyComponent with InitialPosition {
/// {@macro bottom_boundary}
_BottomBoundary()
: super(
// TODO(ruimiguel): set final priority when RenderPriority PR merged.
priority: Ball.boardPriority + 2,
children: [_BottomBoundarySpriteComponent()],
) {

@ -31,6 +31,7 @@ class _DinoTopWall extends BodyComponent with InitialPosition {
///{@macro dino_top_wall}
_DinoTopWall()
: super(
// TODO(ruimiguel): set final priority when RenderPriority PR merged.
priority: Ball.boardPriority + 1,
children: [_DinoTopWallSpriteComponent()],
) {
@ -126,6 +127,7 @@ class _DinoBottomWall extends BodyComponent with InitialPosition {
///{@macro dino_top_wall}
_DinoBottomWall()
: super(
// TODO(ruimiguel): set final priority when RenderPriority PR merged.
priority: Ball.boardPriority + 1,
children: [_DinoBottomWallSpriteComponent()],
) {

Loading…
Cancel
Save