[client] added AniamteBundle

This commit is contained in:
2018-02-16 17:57:43 +03:00
parent 1ae84cf5a8
commit 52a4e44e47
10 changed files with 126 additions and 88 deletions

View File

@@ -1,7 +1,6 @@
package ru.m.animate;
import promhx.Deferred;
import flash.display.BitmapData;
import promhx.Promise;
@@ -9,10 +8,6 @@ class OnceAnimate extends Animate {
private var deferred:Deferred<Animate>;
public function new(frames:Array<BitmapData>) {
super(frames);
}
public function play():Promise<Animate> {
deferred = new Deferred();
playing = true;