mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
fixes in API
This commit is contained in:
@ -6,13 +6,13 @@ import 'package:flame/animation.dart';
|
||||
class AnimationComponent extends PositionComponent {
|
||||
Animation animation;
|
||||
|
||||
AnimationComponent();
|
||||
|
||||
AnimationComponent(double width, double height, this.animation) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
AnimationComponent.empty();
|
||||
|
||||
AnimationComponent.sequenced(
|
||||
width,
|
||||
height,
|
||||
|
||||
Reference in New Issue
Block a user