An animation task. To start an animation, you can add a task to Animator, such that the task will be called periodically until the task returns false.
timeis the milliseconds from 1970-01-01 (UTC). In other words, it is the same as
typedef bool AnimatorTask(int time);