@NotNull open fun setInitialDelay(initialDelay: Long): @NotNull GameAnimatorBuilder
Sets the amount of time till the first animation
initialDelay - Long: the amount of time as a long
IllegalArgumentException - when the initialDelay is negative
Return
GameAnimatorBuilder: the GameAnimatorBuilder
@NotNull open fun setInitialDelay(initialDelay: Long, @Nullable unit: @Nullable TimeUnit?): @NotNull GameAnimatorBuilder
Sets the animation interval and its unit.
initialDelay - Long: the amount of time as a long
unit - TimeUnit?: the TimeUnit or null if you don't want to change it
IllegalArgumentException - when the initialDelay is negative
Return
GameAnimatorBuilder: the GameAnimatorBuilder