if repeat is true, the animation chain will be repeated as soon as it ends. Otherwise, it will play only once.
final bool repeat;