removed ArrayList so that it can depend on just the gdx version of code