mirror of
https://github.com/RDCN-Community-Developers/rdkt.git
synced 2026-09-04 17:25:33 +08:00
Added SetSpeedEvent.
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
package cn.rdlevel.rdkt.core.events
|
||||||
|
|
||||||
|
|
||||||
|
import cn.rdlevel.rdkt.core.data.Easing
|
||||||
|
import kotlinx.serialization.SerialName
|
||||||
|
import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
|
@Serializable
|
||||||
|
@SerialName("SetSpeed")
|
||||||
|
public data class SetSpeedEvent(
|
||||||
|
var speed: Double = 1.0,
|
||||||
|
var duration: Double = 0.0,
|
||||||
|
var ease: Easing = Easing.LINEAR,
|
||||||
|
) : ActionEvent()
|
||||||
Reference in New Issue
Block a user