1.2 KiB
1.2 KiB
orx-delegate magic
Collection of magical property delegators. For tracking variable change or interpolate towards the value of a variable.
Delegated properties
Property smoothing
val state = object {
var radius = 10.0
}
val smoothRadius by smoothing(state::radius)
Property dynamics
val state = object {
var radius = 10.0
}
val dynamicRadius by springForcing(state::radius)
Property tracking
val state = object {
var radius = 10.0
}
val radiusHistory by tracking(state::radius)


