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