Creating AssetsCache class

This commit is contained in:
Erick Zanardo
2019-03-09 15:55:48 -03:00
parent 1562e26e28
commit 3a852ced2e
4 changed files with 32 additions and 3 deletions

View File

@ -16,7 +16,7 @@ class MyGame extends BaseGame {
final animation = await FlameAnimation.Animation.fromAsepriteData(
"chopper.png",
"./assets/chopper.json"
"chopper.json"
);
final animationComponent = AnimationComponent(200, 200, animation);