class FloatAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: Float) : TypedAbstractAttribute<Float>
<component name="Player"> <FloatAttribute name="maxHealth" defaultValue="100.0" /> </component>
| Name | Summary |
|---|---|
FloatAttribute | constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Float) |
| Name | Summary |
|---|---|
value | var value: Float |
| Name | Summary |
|---|---|
checkIfComponentIsOld | fun checkIfComponentIsOld() |
checkIfComponentIsRecycled | fun checkIfComponentIsRecycled() |
get | open override fun get(): Any |
getValue | operator fun getValue(thisRef: Any?, property: KProperty<*>): Float |
keyName | fun keyName(): String |
set | open override fun set(value: Any) |
setValue | operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Float) |