Skip to content

Better Java interop, updated docs and API flexibility

Pre-release
Pre-release

Choose a tag to compare

@ImXico ImXico released this 19 Jun 14:15
· 28 commits to master since this release
9d8fb87

Changelog

Changes to the core module:

  • The StateManageris no longer a singleton. You should now inject a StateManager instance in each concrete State you create. Please refer to the (updated) docs on the core module.
  • The constructor of StateManager now only takes a Camera and a Viewport. Previously, you could also pass an optional initial state, but that has been removed.
  • State input conversion methods can now be overriden.
  • WorldConfig has a better JVM Name (for Java interoperability).
  • HorizontalSlide enum members are slightly better named now.
  • Updated the module's docs (now addressing the currently known issue of creating customTransition from Java).

Changes to the physics module:

  • Removed kotlin.reflect.jvm.internal.impl.load.kotlin.JvmType dependency from BodyBuilder.
  • BodyBuilder#changeWorld now returns the previous world.
  • BodyBuilder now has a disposeWorld method.

Other:

  • Updated documentation for some modules.
  • Added constructor overloading where it was missing (for Java interoperability).
  • Updated Kotlin version to 1.2.41
  • Stylistic code changes for more idiomatic Kotlin.
  • Added a new, cyberpunk-ish logo