Skip to content

KTX 1.10.0-rc2

Compare
Choose a tag to compare
@czyzby czyzby released this 24 Apr 14:14
· 86 commits to master since this release

A maintenance release with notable changes to the ktx-ashley and ktx-script modules.


  • [UPDATE] Updated to Kotlin 1.6.21.
  • [UPDATE] Updated to Kotlin Coroutines 1.6.1.
  • [FEATURE] (ktx-ashley) Added utilities for working with Ashley's EntityListener interface:
    • EntityAdditionListener: an interface extending EntityListener that only requires implementation of the entityAdded method.
    • EntityRemovalListener: an interface extending EntityListener that only requires implementation of the entityRemoved method.
    • Engine.onEntityAdded and Engine.onEntityRemoved extension methods that create entity listeners from lambdas.
    • Wrappers for Engine.onEntityAdded and Engine.onEntityRemoved for IteratingSystem, IntervalIteratingSystem
      and SortedIteratingSystem that use system's Family and Engine automatically.
  • [FEATURE] (ktx-script) Added KotlinScriptEngine.evaluateOn methods that can execute scripts with a custom receiver.
  • [CHANGE] (ktx-script) Generic libGDX and Java exceptions replaced with a custom ScriptEngineException.