style: parameter order

pull/337/head
Allison Ryan 3 years ago
parent 2971697335
commit 93b2a07a50

@ -22,6 +22,7 @@ class SkillShot extends BodyComponent with ZIndex {
Iterable<Component>? children, Iterable<Component>? children,
required this.bloc, required this.bloc,
}) : super( }) : super(
renderBody: false,
children: [ children: [
SkillShotBallContactBehavior(), SkillShotBallContactBehavior(),
SkillShotBlinkingBehavior(), SkillShotBlinkingBehavior(),
@ -30,7 +31,6 @@ class SkillShot extends BodyComponent with ZIndex {
_TextDecalSpriteGroupComponent(state: bloc.state.spriteState), _TextDecalSpriteGroupComponent(state: bloc.state.spriteState),
...?children, ...?children,
], ],
renderBody: false,
) { ) {
zIndex = ZIndexes.decal; zIndex = ZIndexes.decal;
} }

Loading…
Cancel
Save