Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 5.53 KB

README.md

File metadata and controls

65 lines (57 loc) · 5.53 KB

gdx-collections

LibGDX collection classes extracted into a standalone library (i.e. no OpenGL, LWJGL, etc. required)

This is useful for those who need high performance collections on the JVM but aren't building an application with LibGDX.

Mechanism

The gradle build will checkout a specific version of libgdx, copy the collections source files into src/main/java, rename the packages from com.badlogic to org.mini2Dx and compile the standalone jar.

However MathUtils, RandomXS128 and com.badlogic.gdx.util.reflect classes are required for the collection classes. To allow the collection classes to remain standalone, these classes are copied into org.mini2Dx.gdx.utils.compat and the references are updated in the collections classes.

Usage

compile "org.mini2Dx:gdx-collections:1.9.13"

Included Classes