[animate] update
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
package hw.animate;
|
||||
|
||||
import promhx.Promise;
|
||||
|
||||
interface IAnimate {
|
||||
|
||||
public function start(callback:IAnimate -> Void, custom:Bool = false):Void;
|
||||
public function start():Promise<IAnimate>;
|
||||
|
||||
public function cancel():Void;
|
||||
|
||||
private function update(time:Float):Void;
|
||||
public function update(time:Float):Bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user