BludBourne is a complete RPG game used as a reference implementation for my book "Mastering LibGDX Game Development."
Java OpenEdge ABL
Switch branches/tags
Nothing to show
Clone or download
patrickhoey Fixed java.lang.ClassCastException runtime error
1) Fixed type erasure related bug that was discovered when running the recently ported project to LibGDX version 1.9.5. The updated Animation.java class would cause a runtime exception (ClassCastException) when calling getKeyFrames() if the frames were passed into the Animation constructor with an Array object.

I made a note with more details here:
libgdx/libgdx#4476

The workaround was to use the constructor that supported var-arg parameters for the frame types.

Signed-off-by: Patrick Hoey <patrick.hoey@gmail.com>
Latest commit 6d139ef Feb 18, 2017