StepTrigger

class StepTrigger(method: Any, loader: ILoader) : Trigger

Functions

Link copied to clipboard
open override fun register(): Trigger

Registers a trigger based on its type. This is done automatically with TriggerRegister.

Link copied to clipboard
fun setDelay(delay: Long): StepTrigger

Sets the delay in seconds between the trigger activation. This has a minimum of one step every second. This will override setFps.

Link copied to clipboard
fun setFps(fps: Long): StepTrigger

Sets the frames per second that the trigger activates. This has a maximum one step per second.

Link copied to clipboard
open override fun trigger(args: Array<out Any?>)

Sources

Link copied to clipboard