godot.gen.godot.ClockDirection.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-library-debug Show documentation
Show all versions of godot-library-debug Show documentation
Contains godot api as kotlin classes and jvm cpp interaction code.
The newest version!
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
package godot
import kotlin.Long
public enum class ClockDirection(
id: Long,
) {
/**
* Clockwise rotation. Used by some methods (e.g. [Image.rotate90]).
*/
CLOCKWISE(0),
/**
* Counter-clockwise rotation. Used by some methods (e.g. [Image.rotate90]).
*/
COUNTERCLOCKWISE(1),
;
public val id: Long
init {
this.id = id
}
public companion object {
public fun from(`value`: Long): ClockDirection = entries.single { it.id == `value` }
}
}