v0.7.5: replaced all uses of java reflection with LibGDX reflection

This commit is contained in:
Evan Debenham
2019-09-28 11:37:56 -04:00
parent 0724717abf
commit 48d2fc77fe
48 changed files with 440 additions and 668 deletions
@@ -23,6 +23,7 @@ package com.watabou.noosa;
import com.watabou.noosa.particles.Emitter;
import com.watabou.utils.Random;
import com.watabou.utils.Reflection;
import java.util.ArrayList;
@@ -190,11 +191,11 @@ public class Group extends Gizmo {
} else {
try {
return add( c.newInstance() );
} catch (Exception e) {
Game.reportException(e);
g = Reflection.newInstance(c);
if (g != null) {
return add(g);
}
}
return null;