mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user