mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 20:36:31 +08:00
AnimationComponent.empty was breaking
This commit is contained in:
@ -5,7 +5,7 @@ import 'package:flame/animation.dart';
|
||||
|
||||
class AnimationComponent extends PositionComponent {
|
||||
Animation animation;
|
||||
bool destroyOnFinish;
|
||||
bool destroyOnFinish = false;
|
||||
|
||||
AnimationComponent(double width, double height, this.animation,
|
||||
{this.destroyOnFinish = false}) {
|
||||
|
||||
Reference in New Issue
Block a user