fixes in API

This commit is contained in:
Luan Nico
2018-07-02 01:39:47 -03:00
parent d40bae6fbf
commit 4ff3721f13

View File

@ -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,