TimeScript

Script with time

Parameters

time

time

script

source script

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Empty script

Functions

Link copied to clipboard
abstract fun accept(p: T)
open fun accept(@NotNull trigger: @NotNull ScriptSource)
Link copied to clipboard
open fun andThen(p: Consumer<in T>): Consumer<T>
Link copied to clipboard
abstract fun compareTo(p: T): Int
open fun compareTo(@NotNull o: @NotNull Timed): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isSync(): Boolean
Checks this script should be called in tick thread
Link copied to clipboard
@NotNull
open fun of(@NotNull scriptList: @NotNull List<AnimationScript>): @NotNull AnimationScript
Sums a script list to one
@NotNull
open fun of(@NotNull source: @NotNull Consumer<ScriptSource>): @NotNull AnimationScript
@NotNull
open fun of(isSync: Boolean, @NotNull source: @NotNull Consumer<ScriptSource>): @NotNull AnimationScript
Creates script
Link copied to clipboard
abstract fun time(): Float
Gets time
@NotNull
open fun time(newTime: Float): @NotNull TimeScript
Creates a timed script
Link copied to clipboard
abstract fun toString(): String