HoldingChargeKeybindAbility

Constructors

Functions

Link copied to clipboard
open fun async(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun <R> completableAsync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> completableSync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> deferredAsync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun <R> deferredSync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun deleteProperty(key: String)
Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
open fun <T : Any> getProperty(key: String): T?
open fun <T : Any> getProperty(key: String, default: T): T
Link copied to clipboard
open fun launch(dispatcher: CoroutineContext, block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
inline fun observable(noinline onOvercharge: suspend () -> Unit = {}, noinline onChange: suspend (property: KProperty<*>, oldValue: Float, newValue: Float) -> Unit): ReadWriteProperty<Any?, Float>
Link copied to clipboard
open fun registerEvents(vararg listeners: Listener)
Link copied to clipboard
open fun <T : Any> setProperty(key: String, value: T): T
Link copied to clipboard
open fun sync(block: suspend CoroutineScope.() -> Unit): Job

Properties

Link copied to clipboard

The player who this ability belongs to.

Link copied to clipboard
override var charge: Float

The current charge of the ability.

Link copied to clipboard
abstract val chargeTime: Duration

The time it takes for the ability to reach full charge.

Link copied to clipboard
Link copied to clipboard

The duration before the ability can be activated again.

Link copied to clipboard
abstract val linkedOrigin: Origin

The origin instance that this ability belongs to.

Link copied to clipboard
open val logger: MinixLogger
Link copied to clipboard
open val name: String
Link copied to clipboard
override val plugin: Terix

Inheritors

Link copied to clipboard