utopia-rise / godot-kotlin-native

Kotlin bindings for Godot Engine
MIT License
290 stars 16 forks source link

add an EnumArray #163

Closed CedNaru closed 4 years ago

CedNaru commented 4 years ago

Added an EnumArray to the coreType. Behind the hood, it's just a normal IntVariantArray but it requires the user to provide a mapping function from Int to the generic Enum type.