fix: Update version of lints to comply with new pub requirements (#3223)

Update version of lints to comply with new pub requirements.
This commit is contained in:
Luan Nico
2024-07-16 06:49:47 -07:00
committed by GitHub
parent 8cd054d02b
commit 1b0bee726b
5 changed files with 22 additions and 14 deletions

View File

@ -108,11 +108,14 @@ class _Chopper extends SpriteAnimationComponent
}
@override
void onCollisionStart(Set<Vector2> _, PositionComponent other) {
void onCollisionStart(
Set<Vector2> intersectionPoints,
PositionComponent other,
) {
if (other is _Chopper) {
game.timeScale = 0.25;
}
super.onCollisionStart(_, other);
super.onCollisionStart(intersectionPoints, other);
}
@override