DisposableTimerTask

class DisposableTimerTask(val task: Timer.Task) : DisposableHandle, Disposable

Wraps around libGDX Timer.Task to make it possible to cancel scheduled tasks. Holds a reference to the original scheduled task.

Constructors

Link copied to clipboard
constructor(task: Timer.Task)

Properties

Link copied to clipboard
val task: Timer.Task

Functions

Link copied to clipboard
open override fun dispose()