fixes in API

This commit is contained in:
Luan Nico
2018-07-02 01:30:46 -03:00
parent f0353dceed
commit d40bae6fbf
2 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,8 @@ 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;