Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 384 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 384 Bytes

Overly Simple Tween Library

API

class Tween {
  static function time(milliseconds:Int, apply:(progress:Float)->Void, ?scheduler:Scheduler):CallbackLink;
}
interface Scheduler {
	function schedule(f:Void->Bool):Void;
}

Note that when implementing Scheduler, the given callback should not be invoked immediately as that is the responsibility of the scheduler user.